cadius icon indicating copy to clipboard operation
cadius copied to clipboard

Incorrect dates?

Open frankmilliron opened this issue 1 year ago • 1 comments

Hello! I extracted some files from Total Replay using CADIUS EXTRACTFILE, and for some reason the dates are showing up as 100 years off.

MacOS Sequoia 15.0.1. Cadius installed via Homebrew.

Screenshot 2024-10-14 at 3 44 00 PM

frankmilliron avatar Oct 14 '24 22:10 frankmilliron

Just commentary here - ProDOS technically has only 2 digit dates, in a 7-bit field. There are a couple ways to encode dates over 1999 in common use:

Decoding using both approaches simultaneously should be harmless (i.e. translate 124 to 2024, and also translate 24 to 2024). But I would refrain from encoding using the former, since a value > 99 may result in the "19100" problem for tools that were not tested beyond 1999, and erroneously giving a year of 1924 is probably better than a crash or latent data corruption.

inexorabletash avatar Oct 15 '24 01:10 inexorabletash