this post was submitted on 28 Feb 2024
9 points (100.0% liked)

NZ Off topic

413 readers
1 users here now

This community is for NZ discussion about random non-NZ things, or whatever you want! Shitposts, circlejerks, memes, something you found funny, anything goes!*

*except for:

If you want to have a serious political discussion, take it to !politics@lemmy.nz.

founded 1 year ago
MODERATORS
 

I find this absolutely hilarious.

top 7 comments
sorted by: hot top controversial new old
[–] absGeekNZ 5 points 9 months ago

Honestly working with local date and time is a pain in the arse; if everything was kept at UTC and only displayed as Local time, it would be so much easier. Daylight savings makes everything worse!

Even if you lose access to your time server you can keep fairly accurate time by counting with your local clock from your last registered timestamp; the local clock should be able to keep to a few ms/day accuracy.

[–] Dave 4 points 9 months ago (1 children)

I can understand Y2K bugs where it only happens once in 1000 years, but how does this happen when leap years are so common?

It's not like everyone programs a calendar from scratch, I'm trying to understand how they could have screwed this up.

[–] Ross_audio@lemmy.world 3 points 9 months ago (2 children)
[–] Dave 3 points 9 months ago (1 children)

Haha that's a pretty entertaining watch (pun intended).

I still want details on how a leap day can take down a petrol station! My money is on time-based encryption but really it's anyone's guess. It just seems like things should still work even if (somehow!) the date is set wrong.

[–] Ross_audio@lemmy.world 3 points 9 months ago (1 children)

It could be even simpler.

If they couldn't put the date as 29th Feb yesterday most card payment machines wouldn't allow them to connect. Especially if it was "March 1st"

Much like the reasons for the "leap second smear" Tom mentions at the end of that video. Banks really care about continuity and knowing the order of events.

[–] Dave 4 points 9 months ago

But what series of events could possibly lead to there being no February 29? As Tom mentions in the video, you don't do this stuff yourself, there's no reason to build that yourself.

My new guess is they had the year set wrong and no one noticed until now.

[–] Ilovethebomb 2 points 9 months ago