mirror of
https://github.com/mihonapp/mihon.git
synced 2026-01-23 12:54:17 +01:00
A user in #2777 was using the ComicInfo.xml Year/Month/Day fields to indicate date of publication for some American comics, which often predate the UNIX Epoch of 1970. They were seeing "N/A" displays because this line of code discarded date information for any time before Jan 1st, 1970. The `toRelativeString` extension function used in the other `relativeDateText` function already accounts for very distant dates (anything >7 days away turns into full date, not relative, regardless of setting, though disabling the relative timestamp setting circumvents this with the same result). Removing this line should not cause any issues as it is purely a display difference and the use case of backdating comics to pre-1970 is worth it in my opinion.