DEV Community

Discussion on: My First Open-Source Tinkering - On Code Refactoring

Collapse
 
cagatayy profile image
cagatay-y

Wouldn’t the code above also filter 13:42 when the time is 14:34 because the minute part is bigger, even though the time is actually earlier because of the hour part?
(It is weird to comment on a 2-year-old post but I am working on my Pocket list :) )