Support NTFS and Unix-style timestamps for entries in Zip files

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: 6
    • Component/s: core-libs
    • None
    • b94
    • generic
    • generic
    • Verified

      It is a source of repeated confusion that the timestamps stored in Zip files
      are the ancient DOS timestamps with only 2 (!) seconds granularity.

      Modern systems have timestamp granularity of seconds or milliseconds.

      It is disturbing that archiving/unarchiving files in zip files causes the
      timestamp to be rounded to the nearest 2 seconds, causing (mild) loss of user data,
      and breaking makefiles and other programs relying on precise timestamps.

      There are extensions to the zip file format supporting specific file systems
      and their more precise timestamps. It would be good for Java to support these
      extensions, even though it would mean that zip files generated on Unix systems would
      look a little different from zip files generated on Windows systems.

            Assignee:
            Xueming Shen
            Reporter:
            Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: