rossta / montrose

Recurring events library for Ruby. Enumerable recurrence objects and convenient chainable interface.
https://rossta.net/montrose/
MIT License
843 stars 53 forks source link

Passing seconds to at #94

Closed terencedignon closed 6 years ago

terencedignon commented 6 years ago

As far as I can tell at only reads hours and minutes. Is there a way to include seconds? It's an important data point in our schedules.

Desired Behavior

[57] pry(main)> Montrose.weekly.at('23:59:59')
=> #<Montrose::Recurrence:3fd4d7a04588 {:every=>:week, :at=>[[23, 59, 59]]}>

Actual Behavior


[57] pry(main)> Montrose.weekly.at('23:59:59')
=> #<Montrose::Recurrence:3fd4d7a04588 {:every=>:week, :at=>[[23, 59]]}>
rossta commented 6 years ago

Thanks. Could you confirm whether #95 accounts for your use case?

terencedignon commented 6 years ago

That looks great! Thank you.