[Feature][PR] Add predicate methods for previous and next day checks #37625

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Feature][PR] Add predicate methods for previous and next day checks #37625

Jatin Dhankhar
Hi, 
I added complimentarily predicate methods for time helpers.
This completes the today? predicate with its complementary helper methods tomorrow?, next_day?, yesterday? and prev_day?

Here is the PR for the same- https://github.com/rails/rails/pull/37625

Would appreciate if someone can review the PR and provide feedback :)

Thanks,
Jatin Dhankhar


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-core/6b68e0ea-1579-4d60-a88a-3fd5180b14af%40googlegroups.com.