-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
The Year 2038 problem is right around the corner compared to 1995. There appears to be several problems in Fuzzball MUCK:
- The basic fact that dates are stored in signed 32-bit integers, because all arithmetic involves 32-bit integers.
- This means that you get overflows when adding and subtracting time to and from
{secs}for dates later than 03:14:07 UTC on 19 January 2038 - The fact that
{convtime}and other date and time functions only support two-digit years; they should probably at least allow four-digit years, just for disambiguation purposes, but that's also a fairly straightforward way of future-proofing things. 2038 is closer to 2070 than 1970, after all.
This could be mitigated by either updating the existing mathematical functions to use 64-bit integers, or (for backwards-compatibility) adding new functions (i.e. {secs64}, {add64}, etc). I'm not sure what to do about the two-digit years.
Patashu and Hyratel
Metadata
Metadata
Assignees
Labels
No labels