Elektrine lite

← Feed

@nil@furry.engineer

Post #2928749

2025-01-01 22:22 UTC

the majority of this function is just parsing a hardcoded string ("Mar 1 2004") to convert it to year, month, and date integers. this isn't the future limit date, btw. the program also checks if the date is too far in the *past*. looks like the hardcoded last allowed time you can run this program is midnight on December 31, 2009

Replies (2)

  • @nil@furry.engineer 2025-01-01 22:51

    so if it makes anyone feel better i just got the actual real code to print out the message. i had to nop out everything before the time validation function so it would run (the sunpci hardware isn't emulated on qemu), but indeed this program does check the date and exit if it's too far in the future

    Open ##2928750

  • @whvholst@eupolicy.social 2025-01-03 08:24

    @nil@furry.engineer That is one way to solve the 2038 problem...

    Open ##2928755