Leap year software glitch closes fuel pumps across New Zealand
(www.straitstimes.com)
from fne8w2ah@lemmy.world to technology@lemmy.world on 29 Feb 2024 08:51
https://lemmy.world/post/12545200
from fne8w2ah@lemmy.world to technology@lemmy.world on 29 Feb 2024 08:51
https://lemmy.world/post/12545200
cross-posted from: lemmy.world/post/12545090
threaded - newest
Y2K finally happening!
I'll never forget seeing "Y2K compatible" flashlights in the dollar store.
Why does the fuel pump need to know what date it is?
According to the article, it’s the payment processing system.
I’m not sure I want a system which rolled their own date handling holding my credit card details. Wanna bet they rolled their own crypto too?
Well, I think it’s not about what we want at all. It’s about what they can get away with while not affecting the CEO’s compensation.
We’re just the livestock they harvest money from.
So they can log how much is being used, track how old it is, etc.
Why wouldn’t a company want to have the date alongside their inventory and sales.
Cause the actual date doesn’t matter.
You log epoch time, and convert as needed.
Though the as-needed convert may be the issue.
<img alt="Epoch Fail!" src="https://imgs.xkcd.com/comics/bug.png">
Surely you can do all that without tying the functioning of the entire pumping system directly to the time stamp though, right?
Someone wrote their own date library.
[Insert Tom Scott Video Here]
Don’t hate the player. Hate the organization that requires several levels of justification meetings and approvals for adding any 3rd party library.
smirks in Australian
Was this just cos they cross the date line first and thus the bug was fixed before anyone else had to deal with it. Plus laughs in australian
All those Kiwis better make sure their gas tanks are full before Dec. 31st. Because if the software can’t handle February with 29 days, it probably ca t handle a year with 366 days either.
Leap Day William at it again!