Skip to content

_QAPrintDate/_QADateTime wasn't y2k compliant.#67

Open
ksherlock wants to merge 1 commit intomarketideas:masterfrom
ksherlock:_QADateTime-y2k
Open

_QAPrintDate/_QADateTime wasn't y2k compliant.#67
ksherlock wants to merge 1 commit intomarketideas:masterfrom
ksherlock:_QADateTime-y2k

Conversation

@ksherlock
Copy link
Collaborator

Since the year component is stored as an offset from 1900 ("current year minus 1900"), 2000-2155 overflows the 2-digit year display and renders as ##. This truncates it back to 2 digits.

Since the year component is stored as an offset from 1900 ("current year minus 1900"), 2000-2155 overflows the 2-digit year display and renders as ##.  This truncates it back to 2 digits.
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.

1 participant