1
1
mirror of https://github.com/wader/fq.git synced 2024-12-19 19:31:37 +03:00
fq/format/zip
Mattias Wadman a83cac6021 zip: Fix incorrect time/date, add extended timestamp and refactor
MSDOS time/date was read in wrong order and also did not take into account
that the bit ranges in the shortis are in little-endian.

Remodel modification_time/date to be one struct with fat_time, fat_date LE shorts
and then synthetic values for day, hours, minute etc and also a unix field with the
timestamp as unix time.

Also refactor and clenaup extra fields/extended code a bit.

Fixes #792
2023-10-23 11:11:27 +02:00
..
testdata zip: Fix incorrect time/date, add extended timestamp and refactor 2023-10-23 11:11:27 +02:00
zip.go zip: Fix incorrect time/date, add extended timestamp and refactor 2023-10-23 11:11:27 +02:00
zip.md zip: Fix incorrect time/date, add extended timestamp and refactor 2023-10-23 11:11:27 +02:00