-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Human readable time of day option #124
Human readable time of day option #124
Conversation
Hello! Thanks for the PR. It seems some tests break, could you have a look? |
I left a few comments on the code, but I'd like to discuss the design of this feature. I see two main flaws in the current PR:
Hope that makes sense. Let me know what you think. |
Think about point 1 further, another approach could be to design this as a "sub option", similar to what |
I do agree there is some duplicate code now, and I was a little hesitant doing that. Having to properly update handle multiple languages is why I ended up down this route. But I'll look back at this and see if I can make this better. I like your suggestions. |
Hello. I think this is much better now. There is only 1 new option |
@rlanvin Hi. Any chance we could get this reviewed and merged into the master code base? I've been using this for a few months now in our production environment and all has been good with this. Thanks. |
@bierpub Yes sure - sorry I thought I already reviewed and merged this one, but I'm bad at keeping track of the open PRs at the moment... Thanks a lot for addressing my comments from January. This looks good to me. |
Create a Human Readable option for
Time of Day
that does not include the date that the rule started. This can be used as an alternate to the start date when wanting to print only the time of day for each occurrence and without the wordstarting
.Occurrences that are once per day will print the time of day
monthly on the 2nd of the month at 4:15 PM
Occurrences that are more than once per day will show the starting at time
every 7 hours starting at 6:30 AM