Odd date sort behavior at start of UTC month
|Reported by:||Tim Parenti||Owned by:|
|Keywords:||date, sort, utc, month||Cc:||tjtrumpet2323@…|
|Component version:||Operating system type:||Windows|
|Operating system version:||Windows 7 Professional SP1 x64 on Intel Core i5-2410M|
When sorting files on a remote server by date, weird behavior occurs at the UTC month boundary. Sorting by ascending date puts files from 01 October (UTC) before files from 28, 29, and 30 September (UTC). Expected behavior would list files chronologically, with 01 October (UTC) coming after the others.
Both my computer and the remote server operate in America/New_York (currently UTC-04:00), so the start of October (UTC) was at 20:00 EDT on 30 September.
See attached screenshot.
Compiled for: i586-pc-mingw32msvc
Compiled on: x86_64-unknown-linux-gnu
Build date: 2011-08-28
Compiled with: i586-mingw32msvc-gcc (GCC) 4.2.1-sjlj (mingw32-2)
Compiler flags: -g -O2 -Wall -g -fexceptions
Name: Windows NT 6.1 (build 7601, Service Pack 1)
Platform: 64 bit system
Change History (7)
by , 11 years ago