Skip to content

Commit

Permalink
Add a test case that documents the current behaviour.
Browse files Browse the repository at this point in the history
This illustrates #361.

The resulting time stamp is the default time (1980) because the
date is invalid in the time zone.
  • Loading branch information
0-wiz-0 committed Mar 15, 2024
1 parent 19c48b6 commit 5d5ee28
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Binary file added regress/mtime-default.zip
Binary file not shown.
7 changes: 7 additions & 0 deletions regress/mtime-dst.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
description change method from stored to deflated, which will change the timestamp because it is at a DST point and not valid in that time zone
environment-set TZ America/New_York
# setting it to a European timezone, where there is no DST change at this point, works
#environment-set TZ Europe/Zurich
return 0
arguments test.zzip set_file_compression 0 deflate 0
file test.zzip mtime-dstpoint.zip mtime-default.zip
Binary file added regress/mtime-dstpoint.zip
Binary file not shown.

0 comments on commit 5d5ee28

Please sign in to comment.