Datetimes on files from my phone are off by three hours

Duncan 1i5t5.duncan at cox.net
Thu Feb 10 10:14:26 GMT 2011


Dotan Cohen posted on Thu, 10 Feb 2011 11:28:29 +0200 as excerpted:

> Thanks, Duncan. I'm not syncing, just transferring the files with the
> USB Mass Storage driver that the phone supports. I'll see what I can
> come up with, and like you said, at worst case I can write a script to
> adjust the times.

Ahh.  In that case...  

The USB Mass Storage driver is all kernel, so it's the kernel grabbing the 
data /and/ metadata (including the time) off the phone.

I assume the phone filesystems are probably FAT32/64?  If so, see the 
mount manpage under fat, for the tz= option.  If you use fstab entries you 
can of course put the option in the options field there.

If you're using hal or udisk based automounting... it should be 
configurable in them, but hal's fdi configuration wasn't simple to work 
with, to put it mildly, and while udisks config should hopefully be 
somewhat more straightforward (even if it does bring in a lot of really 
stupid-crazy deps like lvm), I've not really screwed with it at all yet, 
so can't be of much help.

But given the above, it IS almost certainly the difference in timezone 
handling between the two devices.  Hopefully, that tz= option can fix it 
for you.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list