When I insert an OTG usb key, and copy files to the OTG usb key, it puts the CURRENT date/time rather than KEEPING the original date/time. The key is a SanDisk 32GB convertible.
Is there an option i need to set, or is this a bug?
If I copy files to my NAS via LAN share, it keeps original time and date.
HELP!
TC Android v2.80b3 date/time wrong on copied files
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Android does not support preserving/setting the time, it has been a bug for AGES.
Here are the relevant bug reports in the Android bug tracker:
File setLastModified always returns false
https://code.google.com/p/android/issues/detail?id=1992
setLastModified() always fails on Xoom unless running as root
https://code.google.com/p/android/issues/detail?id=18624
File.setLastModified() always returns false on Samsung Galaxy Nexus
https://code.google.com/p/android/issues/detail?id=25460
Sending the time via LAN works fine because the target isn't on Android itself.
Here are the relevant bug reports in the Android bug tracker:
File setLastModified always returns false
https://code.google.com/p/android/issues/detail?id=1992
setLastModified() always fails on Xoom unless running as root
https://code.google.com/p/android/issues/detail?id=18624
File.setLastModified() always returns false on Samsung Galaxy Nexus
https://code.google.com/p/android/issues/detail?id=25460
Sending the time via LAN works fine because the target isn't on Android itself.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com