[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] timezone change



Frank Naumann <fnaumann@cs.uni-magdeburg.de> writes:

> Hello!
> 
> > > Please explain how a user application see the difference.
> > 
> > Let's say I save a text file.  My watch says 14:54, but the time
> > on the file is 11:54 (e.g. UTC = EEST-3).  That is a problem.
> 
> Sorry, in such case you have something configured in a wrong way. All
> timestamps are converted to localtime from the kernel on the old system
> interface (Fxattr, Fdatime, ...).

If the RTC is set to UTC, and MiNT is running, and my MiNT-system is properly
configured, then when I save a file and my watch says 14:54, the file will get
the stamp 14:54.

When I reboot into TOS, the RTC is still set to UTC, but TOS doesn't know
about my localtime-difference, and therefor, when I write the file, the
time will say 11:55 (takes a minute to reboot, right? :)).

When I start MiNT again, the time on the last file will still be 11:55, right?

/Stefan