Skip to content

Commit

Permalink
Add .mscz support to automtime
Browse files Browse the repository at this point in the history
There doesn't seem to be a modification time available in the XML
metadata, so just treat it like the zip file it is.
  • Loading branch information
dfandrich committed Sep 2, 2024
1 parent 7f7f470 commit 29dc0f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion automtime
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@ for f in "$@" ; do
*.docx | *.epub | *.apk | *.apkm | *.war | *.xps | *.resource | \
*.application | *.docm | *.f3d | *.egg | *.kra | *.whl | *.3mf | \
*.sb2 | *.sb3 | *.ora | *.tc | *.wfp | *.wacz | \
*.pisi | *.pup)
*.pisi | *.pup | *.mscz)
TYPE=zip
;;

Expand Down
1 change: 1 addition & 0 deletions test-automtime-expected
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
'testfiles/type1.m4a' '2024-02-05 10:11:12'
'testfiles/type1.metainfo.xml' '2020-07-31'
'testfiles/type1.mp4' '2023-04-05 06:07:08'
'testfiles/type1.mscz' '2023-11-27 22:23:50'
'testfiles/type1.msg' '2021-10-12 12:34:56 +0000'
'testfiles/type1.ods' '2021-11-06 15:45:15.657373818'
'testfiles/type1.odt' '2021-10-13 02:28:28.386995722'
Expand Down

0 comments on commit 29dc0f5

Please sign in to comment.