WebDav plugin displays wrong file time
Moderators: white, Hacker, petermad, Stefan2
Re: WebDav plugin displays wrong file time
On a phone which doesn't have a camera I prefer to use the WebDAV plugin instead of Wifi Transfer to download files shared on other Android devices. Some of such devices don't show correct time of their files, so I suggest implement per-connection time shift correction option, suggested for desktop WebDAV plugin, also in its mobile version.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 48124
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: WebDav plugin displays wrong file time
WebDAV servers usually send the timestamp in UTC (GMT). For example, my Wifi transfer plugin sends something like this:
Fri, 11 Dec 2020 15:02:40 GMT
If you get wrong timestamps, then the time zone is wrong either on the sending or on the receiving device.
Fri, 11 Dec 2020 15:02:40 GMT
If you get wrong timestamps, then the time zone is wrong either on the sending or on the receiving device.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: WebDav plugin displays wrong file time
I'm not sure about this. For example, I share file on a Meizu M2 device with Android 5.1, there TC4A shows following:ghisler(Author) wrote: ↑2021-03-16, 20:31 UTC WebDAV servers usually send the timestamp in UTC (GMT). For example, my Wifi transfer plugin sends something like this:
Fri, 11 Dec 2020 15:02:40 GMT
If you get wrong timestamps, then the time zone is wrong either on the sending or on the receiving device.
Code: Select all
photo1.jpg 1M 25.09.20 18:30:15
photo2.jpg 2M 01.11.20 23:08:24
On a reciever device (for example on Android 4.3.1, or on a PC), in the WebDAV plugin, TC shows following files data:
Code: Select all
photo1.jpg 1M 25.09.20 19:30:15
photo2.jpg 2M 02.11.20 00:08:24
So there is +1 hour shift on a receiver device, which for some files means +1 day shift.
Maybe instead of per-connection setting for Time Shift correction in the WebDav plugin, it could be solved by TC and TC4A setting to define custom time shifts in a format "path pattern - time shift", so it would be possible to define something like:
Code: Select all
\\WebDAV\Meizu M2\* -1H
Last edited by DrShark on 2021-03-19, 07:39 UTC, edited 1 time in total.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 48124
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: WebDav plugin displays wrong file time
Maybe it's because the USA already uses daylight saving time now, but Europe still uses winter time?
Do you use U.S. locale on one of the devices?
Do you use U.S. locale on one of the devices?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: WebDav plugin displays wrong file time
I have checked the date/time settings on that Meizu phone, it says:
Language: Ukrainian
Region: USA
Date & Time:
Automatic: disabled
Time zone: GMT +01:00 Central European Standard Time
Language: Ukrainian
Region: USA
Date & Time:
Automatic: disabled
Time zone: GMT +01:00 Central European Standard Time
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 48124
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: WebDav plugin displays wrong file time
That could be the problem, it may be thinking it already has daylight saving time as in the USA.Region: USA
We will see, when Europe gets daylight saving time later this month whether the problem will go away...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com