1071
you are viewing a single comment's thread
view the rest of the comments
[-] finitebanjo@lemmy.world 6 points 3 days ago

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 2 days ago

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

[-] Croquette@sh.itjust.works 4 points 3 days ago

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

[-] MystikIncarnate@lemmy.ca 4 points 3 days ago
[-] Croquette@sh.itjust.works 4 points 3 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 3 days ago

That's the 32 bit timestamp

[-] bss03@infosec.pub 1 points 3 days ago

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 2 days ago

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 2 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 2 days ago

Probably some mainframe or something lol. Always a mainframe.

this post was submitted on 18 Dec 2024
1071 points (100.0% liked)

memes

10667 readers
1327 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