this post was submitted on 18 Dec 2024
1086 points (98.3% liked)

memes

10677 readers
2800 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] finitebanjo@lemmy.world 5 points 4 days ago (2 children)

More of a front end issue actually, almost all time is just stored as the number of seconds since 00:00:00 Jan 1 1970.

[–] JackbyDev@programming.dev 3 points 4 days ago

I've seen plenty of people use ISO 8601 for storage as well as display.

[–] Croquette@sh.itjust.works 4 points 4 days ago (1 children)

And it's represented as a 64 bits value, which is over 500 billions years.

[–] MystikIncarnate@lemmy.ca 3 points 4 days ago (3 children)
[–] Croquette@sh.itjust.works 3 points 4 days ago

This is for a 32bits encoded epoch time, which will run out in 2038.

Epoch time on 64 bits will see the sun swallow Earth before it runs out.

[–] smeenz@lemmy.nz 3 points 4 days ago

That's the 32 bit timestamp

[–] bss03@infosec.pub 1 points 4 days ago (2 children)

We've still got time to fix it, and the next release of Debian will likely have a time-64 complete userland. I don't know the status of other "bedrock" distributions, but I expect that for all Linux (and BSD) systems that don't have to support a proprietary time-32 program, everything will be time-64 with nearly a decade to spare.

[–] 2xsaiko@discuss.tchncs.de 3 points 4 days ago (1 children)

Yup. Gentoo people are working on it as well. This is only a problem on 32-bit Linux too, right?

[–] bss03@infosec.pub 2 points 3 days ago

I think it affects amd64 / x64 because they originally used a 32-bit time_t for compatibility with x86 to make multiarch easier.

I don't believe it affects arm64.

[–] JackbyDev@programming.dev 1 points 4 days ago

Probably some mainframe or something lol. Always a mainframe.