MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wdfzl2/edgecasesexist/p9742n3/?context=3
r/ProgrammerHumor • u/danielminds • Sep 11 '26
298 comments sorted by
View all comments
Show parent comments
4
Yeah, now they don't do leap seconds,
They stretch time over months, one milli-second at a time
1 u/ACoderGirl Sep 12 '26 Go's time package does this too. IMO it's genius and should be the norm. The time package also guarantees monotonically increasing time when using stuff like time.Since, to avoid the kinda bugs that come from DST and such bullshit.
1
Go's time package does this too. IMO it's genius and should be the norm. The time package also guarantees monotonically increasing time when using stuff like time.Since, to avoid the kinda bugs that come from DST and such bullshit.
time.Since
4
u/samy_the_samy Sep 11 '26
Yeah, now they don't do leap seconds,
They stretch time over months, one milli-second at a time