On Mon, May 06, 2002 at 08:27:11AM -0400, Alan Langford wrote:
> You will find an interesting platform dependency here. There are lots of
> Windows/CVS complaints about file modification date changes when a system
> switches from standard to daylight savings time and back. In fact (ahem)
> most versions of Windows seem to write the modification date to the disk as
> UTC. This means that when the user changes time zones, or moves from or to
> daylight savings, the file modification times appear to change when in fact
> the OS is reporting an accurate date. The many rants against Windows and
> suggestions that that this is a "bug" suggest that most Unix based systems
> write local time to the disk.
Unix-based systems of course use UTC, as any sane system would.
The NT bug, as I recall, is that stat() will return a different
structure before and after a DST change. The time_t fields are
actually adjusted, and can't be interpreted as 'seconds since the
Epoch'. (Perhaps I'm misremembering.)
Tim.
*/
- application/pgp-signature attachment: stored
Received on Mon May 6 14:37:10 2002