Closed caneroj1 closed 7 years ago
What an unexpected surprise. Thank you, this looks great! I'll get this released next week!
Awesome, sounds good! Just realized that I forgot to actually include the link to the C# impl i mentioned. Here it is.
Uploaded as cron-0.5.0. Thanks again!
Hey,
I added some new functionality to be able to turn a CronSchedule into a human-readable string. This work has been modeled off of this C# implementation.
Some examples:
Describing /2 2-10/4 gives Every 2 minutes, every 4 days, between days 2 and 10 of the month Describing 1 2,3,4-13 * gives At 02:01 AM, 03:01 AM and at 1 minutes past the hour between 04:00 AM and 01:00 PM, every day, every day of the week There's a pleasant amount of test coverage and documentation for this feature, and there are only additive changes to user-facing APIs.
English is the only supported language, currently. More work would need to be done to add localization, if that is desired.