3 ms·
Even if you use a library, it's easy to bake in an "obvious" assumption into your program. Such as storing location + date + time, because that should be unamb
by yccs27 4y ago
Even if you use a library, it's easy to bake in an "obvious" assumption into your program.
Such as storing location + date + time, because that should be unambiguous, right?
Or confusing "same time tomorrow" with now + 24h. Are you even sure which one you need?
- mayoi 4y ago> Are you even sure which one you need? Any examples of when you need "now + 24h" instead of same time tomorrow? For example, daylight savings may start the next day, and time will be adjusted... And everything will be done 1 hour earlier than today despite the hour on the clock being "same time" as today, so what? Other than your body needing to readjust the sleep cycles, noone else seems to actually care. Meanwhile, when I setup cron to do something daily, I don't care about this at all, so what if on one day, the interval will be 23 or 25 hours?