On 10/3/2014 1:14 PM, Istvan Gabor wrote:
John Andersen írta:
On 10/3/2014 12:09 PM, Istvan Gabor wrote:
But I have a question:
If I take a photo now and mount the card right after it (practically within the same daylight shift period) the time stamp reflects the current local time correctly (as expected). If I leave this file on the hard drive and wait for a few weeks or months until the daylight shift period has changed (for example from summer time to winter time) will the time stamp of this file be changed (shifted by an hour) on my hard drive (ext3 filesystem)? I haven't tried so I am not sure, bu I expect that the time stamp won't change after the time shift. Is this correct?
Files on your hard drive will not have the time shifted by daylight saving time changes because they are invariably written in UTC on modern distros.
And it is normal and expected. So if I do the copying the way I described above, after the time shift the file still has the correct local time time-stamp. But if I mount the card after the time shift the time-stamp will be shifted. That is the time-stamps will differ only because the files were copied at different times (ie the filesystems were mounted at different times). I consider this a buggy behavior. The time stamp should always be the same for the same file and shouldn't depend on when the filesystem is mounted.
Istvan
Agreed, in a perfect world that would be the case. But I've been bitten more than once crossing systems, and there must be some bugs or you wouldn't have started the thread. What would you think is the most expedient way to get beyond this issue? File bug reports and hold off doing anything till these are handled? Use exiv2 to set the date/time to the EXIF info? Use exiv2 to change the file name to EXIF date-time-suffix and forever not worry about this bug? Given that you found it to be broken, I suspect the way you fix it is going to but up to you, but one think I know won't work in a timely manor is the bug report route. Been there. Done that. Bought the T-shirt. Its worn out already. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org