Sort order not working before year 2002
-
Hey!
I encountered a problem with the sort order in years prior to 2002.
The UNIX timestamp in years prior to 2002 has one digit less then the ones after 2002, e.g. UNIX timestamp “1018007218” is 04/05/2002 @ 11:46am (UTC) [10 digits], UNIX timestamp “986471231” is 04/05/2001 @ 11:47am (UTC) [9 digits].
If the sort order is set to file date descending, the Uploads prior to 2002 get sorted on top of the ones after 2002 (which is incorrect of course).
Could you (or someone else) please let me know how to fix this in the code and deliver a fix for this in one of the next plugin updates as well?
If you need any further assistance reproducing the bug, just ping me.
Thx in advance and best regards!
- The topic ‘Sort order not working before year 2002’ is closed to new replies.