4 ms·
> Since the lower four bits are /2 Wow, so the second field of every timestamp in a ZIP file must be an even number? That's shocking to me! It seems that RAR a
by barosl 5y ago
> Since the lower four bits are /2
Wow, so the second field of every timestamp in a ZIP file must be an even number? That's shocking to me! It seems that RAR and FAT32 share this problem. How could I not know this?
- mappu 5y agoFAT32 timestamps are also stored as local time instead of UTC, so there's no way to know a real mtime at all, unless you have out-of-band knowledge. Just nonsense all round - - by modern standards. The really impressive thing is that our industry has managed to paper over most relics from The Olden Days to the point where this discovery is surprising!
- aidenn0 5y agoYou've clearly never rsync'd data to FAT before...
- lifthrasiir 5y agoBecause there are several extensions (extra fields) to ZIP that record the full modified date in addition to creation and access date if the OS supports them.