On Wed, 28 May 2008, frantisek holop wrote:Hi Frantisek, you really see the "correct date". The time-zone is a part of the date. Let's say 8:30 am CEST and 8:30 am EST are completely different moments, while "Wed May 28 13:04:16 CEST 2008" (UTC+2) is the same moment as "Wed May 28 07:04:16 EDT 2008" (UTC-4). It is somewhat relativistic, very similar to mathematic transforms. Or it is even like in finance, USD 100 today and USD 100 two years later are different money, because of interests (not taking inflation into consideration). It all depends on your point of view; if you are looking at your files from Europe, use TZ=Europe/Zurich (CEST, UTC+1 + DST or whatever), if you are looking at those very same files from Thailand, set your TZ to Asia/Bangkok (or UTC+7 or whatever). If you want to see what the timestamps looked like when you were in Thailand, modify your TZ temporarily. Some other OS's (namely Linux) always use timestamps on msdos and cd9660 filesystems, as if they were in localtime (not in UTC as in case of OpenBSD), which is frequently more practical when working with media from dos, windows, os/2 and similar people or when working with data from peripherals like cameras. But this feature can be very misleading if you are not prepared for it -- you can only learn it by trial and error, I have never seen it documented anywhere when I needed it. In addition to that, utilities like mkisofs when creating filesystem images use the timestamps as reported by localtime() (or what it uses). When you mount it afterwards, you get different timestamps than you had before. NetBSD's mount_msdos has an option -t for situations, when you need to load data from msdos filesystems containg timestamps in local time (which is usually true). http://netbsd.gw.com/cgi-bin/man-cgi?mount_msdos++NetBSD-current It won't solve your issue (which actually is not an issue, really), but I consider it a very handy feature. Regards, David
| Arjan van de Ven | [patch] Add basic sanity checks to the syscall execution patch |
| Matthew Wilcox | Re: AIM7 40% regression with 2.6.26-rc1 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
git: | |
| Andy Whitcroft | Re: VCS comparison table |
| David | User's mailing list? And multiple cherry pick |
| Scott Chacon | Git Community Book |
| Mark Levedahl | Re: [PATCH] Teach remote machinery about remotes.default config variable |
| Marco Peereboom | Re: Real men don't attack straw men |
| Richard Stallman | Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Tony Abernethy | Re: What is our ultimate goal?? |
| Arjan van de Ven | Re: [GIT]: Networking |
| Jeff Garzik | Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Denys Fedoryshchenko | packetloss, on e1000e worse than r8169? |
| Radu Rendec | Endianness problem with u32 classifier hash masks |
