Re:1Password 8 has been formatting dates incorrectly for ove...
by kiicia on Thursday July 13, 2023 @02:44AM
(#36705761)
Never use unix time stamp as date. You don’t know time zone, you need to calculate leap years (both days and seconds), summer time etc such a “date” would immediately morph into useless random number
Why? Why is the date even a string in the first place? It ought to be internally represented as 3 numbers. Or a Unix timestamp. Convert it to months, days, and/or years as appropriate right before printing.