4 ms·
Summary: For historical reasons. When displaying the day of the month, we wanted to print "1" so we stored that. For months, we wanted to print a 3 letter ab
by noncoml 6y ago
Summary:
For historical reasons.
When displaying the day of the month, we wanted to print "1" so we stored that.
For months, we wanted to print a 3 letter abbreviation, so we had a string ("JanFebMar...") and we stored an index-0 value to start at the first entry of the months string.
- kbumsik 6y agoSo the day of the month is just a number but the month is index, I guess.
- TYMorningCoffee 6y agoThank you for the summary. These twitter threads are difficult to read, especially on mobile.