Closed gee-forr closed 3 years ago
* * 25-L * *
I love the concision of the cron notation.
Hello,
I also need a way to do natural parsing of days of the month up to the last day of the month. I need this because the system I'm building will have users that wish to make themselves unavailable during the last n days of a month where they're closing their financial books off or whatever other things businesses tend to do at the end of the month that makes their people unavailable.
Please remember that fugit "nat" is about parsing to Fugit::Cron
instances, descriptions of sets of points in time. OK, what you do with the parse result is up to you, but I'd like to keep the fugit domain from leaking too much.
I don't like "every 25th to the last day of the month"
, I'd prefer "every day from the 25th to the last"
, could extend into "every day at noon, from the 25th to the last"
.
I'll think about it.
Hi @jmettraux,
Sure - I completely appreciate that my particular use case is not the most orthodox use of this gem, or even of cron notation, but being able to allow a user to specify "every day from the 25th to the last"
as you mention above would be perfect.
Thanks for considering it. I'm happy to submit a PR if you're willing to give me some guidance and pointers on what I should do?
Thanks for considering it. I'm happy to submit a PR if you're willing to give me some guidance and pointers on what I should do?
I want to give it a try this week. If you haven't heard from me before Friday, give it a try.
@gee-forr I'm reworking the fugit nat parser, it's coming along nicely, I hope to be done during the week-end. I hope to include my interpretation of both of your requests. Stay tuned.
Hi John,
This is great news - thank you so much. Once again, please let me know if I can help in any way.
--
Gabriel Fortuna gee.forr@gmail.com On 01 Oct 2020, 01:21 +0200, John Mettraux notifications@github.com, wrote:
@gee-forr I'm reworking the fugit nat parser, it's coming along nicely, I hope to be done during the week-end. I hope to include my interpretation of both of your requests. Stay tuned. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
@gee-forr Hello Gabriel,
I'm finishing the rework, especially the multi:
aspect, then I'm going to do something for gh-44. After that I'll release https://github.com/floraison/raabro 1.4.0 upon which the rework is built. Then I'll release the new fugit 1.4.0.
Any feedback you have meanwhile is welcome, minor remarks or full blown code review.
Cheers
Gabriel Fortuna gee.forr@gmail.com
On 5 Oct 2020, at 10:25, John Mettraux notifications@github.com wrote:
@gee-forr https://github.com/gee-forr Hello Gabriel,
I'm finishing the rework, especially the multi: aspect, then I'm going to do something for gh-44 https://github.com/floraison/fugit/issues/44. After that I'll release https://github.com/floraison/raabro https://github.com/floraison/raabro 1.4.0 upon which the rework is built. Then I'll release the new fugit 1.4.0.
Any feedback you have meanwhile is welcome, minor remarks or full blown code review.
Cheers
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/floraison/fugit/issues/45#issuecomment-703482951, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACUNAVO3SSJBUX635P3HDDSJF7JNANCNFSM4R3W6U2A.
Closing, don't hesitate to tell me if something is missing. Best regards.
Issue description
Apologies for the issue spamming...
I also need a way to do natural parsing of days of the month up to the last day of the month. I need this because the system I'm building will have users that wish to make themselves unavailable during the last n days of a month where they're closing their financial books off or whatever other things businesses tend to do at the end of the month that makes their people unavailable.
How to reproduce
Expected behaviour
I was expecting to get a cron represenation back that looks a little something like this?
Context
Please replace the content of this section with the output of the following commands:
Additional context
None that I can think of right now...