Closed jmettraux closed 5 years ago
Investigate, could I allow comparison between EoTime and Time directly, I guess EoTime#< (et al) could help, but I wouldn't want to override Time#< (et al).
Triggerred by https://stackoverflow.com/questions/44841957/error-when-comparing-dates-in-sidekiq-cron
Closing. Not forcing anything on ::Time, but EtOrbi::Eotime accepts Time (or anything that responds to #to_f for comparison, though not #==).
::Time
EtOrbi::Eotime
#to_f
#==
Investigate, could I allow comparison between EoTime and Time directly, I guess EoTime#< (et al) could help, but I wouldn't want to override Time#< (et al).
Triggerred by https://stackoverflow.com/questions/44841957/error-when-comparing-dates-in-sidekiq-cron