Closed nanis closed 8 years ago
by reading back mtime after utime. This is due to a difference in the way the underlying system calls on Windows behave.
Even though NTFS stores file times in UTC, what you get depends on whether you ask for that information through a handle or filename.
See http://www.nu42.com/2015/03/stat-vs-fstat-msvcrt-windows.html
Thanks! The next time I'm on a HTTP-Tiny maintenance cycle, I'll look into this and likely apply it.
Sorry to take so long. Cherry-picked this to master.
by reading back mtime after utime. This is due to a difference in the way the underlying system calls on Windows behave.
Even though NTFS stores file times in UTC, what you get depends on whether you ask for that information through a handle or filename.
See http://www.nu42.com/2015/03/stat-vs-fstat-msvcrt-windows.html