Answer the question
In order to leave comments, you need to log in
Can you tell me a library for parsing a human-readable date?
Good morning,
the task was to parse phrases like “Second and fourth Tuesday of the month from 16.00 to 18.00”, “Every Thursday from 15.00 to 17.00”, etc.
Is there a ready-made library? Or do you have to think of something?
YaP in principle is not so important, it is also possible in English, I will try to adapt.
Answer the question
In order to leave comments, you need to log in
Yandex guesses events in the mail using this thing . I did not twist it, but according to the description it looks like what you need.
I doubt you will find it. How would you parse "3rd day after full moon" and "2nd Wednesday of an odd week of an even month"?
I think you should learn the internals of the Google App Engine SDK (Python / PHP).
It uses a surprisingly similar (but in English) format for task scheduling (cron).
every 12 hours
every 5 minutes from 10:00 to 14:00
2nd,third mon,wed,thu of march 17:00
every monday 09:00
1st monday of sep,oct,nov 17:00
every day 00:00
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question