Skip to content

Conversation

@a2-4am
Copy link
Contributor

@a2-4am a2-4am commented Feb 21, 2018

localtime() returns a date with the year as year-1900 (presumably a terrible Y2K hack made ~19 years ago) but passes it to the function BuildProDOSDate() function that expects the year to be the actual year.

Separately but relatedly, it returns months 0-11 but passes them to a function that expects 1-12.

@mach-kernel
Copy link
Owner

Sorry about that, should have QA'd this more attentively! I'll merge and release new bins with the patch tonight. Also have to fix a bunch of the ugly preproc. stuff going on in there.

Thank you much!

@mach-kernel mach-kernel merged commit 0338055 into mach-kernel:master Feb 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants