Incorrect file time display in RAR archive
Moderators: Hacker, petermad, Stefan2, white
Incorrect file time display in RAR archive
I have found a very strange bug in new version of TC 7.50. Please look at the:
mslav.intense.ru/031006.rar
with only one file inside it. If you open this archive in WinRAR it shows file time as 2:20 and this is correct. But if you open this archive in TC, it shows file time as 02:12 and this IS NOT correct. But if you extract this file using TC then the extracted file time IS correct! The main problem is that when you compare file in archive and extracted file TC marks them as different files. By the way, the previous version 7.04a shows correct file time, so the bug in new version only.
mslav.intense.ru/031006.rar
with only one file inside it. If you open this archive in WinRAR it shows file time as 2:20 and this is correct. But if you open this archive in TC, it shows file time as 02:12 and this IS NOT correct. But if you extract this file using TC then the extracted file time IS correct! The main problem is that when you compare file in archive and extracted file TC marks them as different files. By the way, the previous version 7.04a shows correct file time, so the bug in new version only.
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2mslav
No problems here. TC shows 02:20.
Can you upload your wincmd.ini file?
Does the problem occur if you start TC with clean INI file (start it with parameter /i=clean.ini)?
No problems here. TC shows 02:20.
Can you upload your wincmd.ini file?
Does the problem occur if you start TC with clean INI file (start it with parameter /i=clean.ini)?
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
INI file has nothing to do with this problem. Please look at thefenix_productions wrote:2mslav
No problems here. TC shows 02:20.
Can you upload your wincmd.ini file?
Does the problem occur if you start TC with clean INI file (start it with parameter /i=clean.ini)?
mslav.intense.ru/my_ini.png
mslav.intense.ru/clean_ini.png
The second one was made with "/i=clean.ini" but both times was shown 2:12.
Any other ideas?
PS. I've tested it in XP, Vista and 7, both with my and clean INI and all times the file time was 02:12 instead of 02:20!
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
The only thing which comes to my mind are system settings responsible for time/date display. I've got Polish version of Windows XP. Judging from hosting addresses I assume you've got Russian one so maybe this one is specific for your language only? Though I am guessing.mslav wrote:Any other ideas?
You might try to go to Control Panel -> Regional and Language settings and set different Date/Time display. Maybe this will change something.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
Thanks for your answer, but please note that when TC extracts the file from the archive it shows correct time, so I think the Control Panel settings has nothing to do with this problem. Especially if the time difference is less then 8 minutesfenix_productions wrote:The only thing which comes to my mind are system settings responsible for time/date display. I've got Polish version of Windows XP. Judging from hosting addresses I assume you've got Russian one so maybe this one is specific for your language only? Though I am guessing.
You might try to go to Control Panel -> Regional and Language settings and set different Date/Time display. Maybe this will change something.

Last edited by mslav on 2009-09-18, 15:15 UTC, edited 1 time in total.
UnRAR.dll version is 3.80.100.259 (shipped with tcmd750.exe)Hacker wrote:UnRAR.dll version?
Roman
But as far as I understand TC uses UnRAR.dll only for extraction but not for displaying list of files in the archive. Extraction is working fine and sets correct file time but displaying archive content shows incorrect time.
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Indeed TC uses unrar.dll only for extracting, it reads the dir listing internally. But I cannot reproduce the error here either. 

Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
It shows 2:20 here too (Danish locale and regional settings).
But the time of the file is actually 2:20:03 which is not supported by FAT only by NTFS - could that be a clue to the reason for the problem? Although I can't see how that should have any impact as long as the file is INside the archive.
But the time of the file is actually 2:20:03 which is not supported by FAT only by NTFS - could that be a clue to the reason for the problem? Although I can't see how that should have any impact as long as the file is INside the archive.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I could reproduce it now - but only by setting the time zone to Moscow time!
Actually it's an overflow in the calculation of the correct time when adding the one odd second to the NTFS time (not supported by TC 7.04a yet).
Actually it's an overflow in the calculation of the correct time when adding the one odd second to the NTFS time (not supported by TC 7.04a yet).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com