-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Writing ExifDateTime fails with an assertion error #50
Comments
Use |
I have set the time, but it still fails. It fails even if I use ExifDate. If it's intended to fail, it surely should not fail with an assertion error. When using TypeScript it is not possible to use ExifDate or string without forcing it to ignore type check. |
Agreed, that should be fixed. |
Note that $ exiftool -CreateDate=2019:01:01 test.jpg
Warning: Invalid date/time (use YYYY:mm:dd HH:MM:SS[.ss][+/-HH:MM|Z]) in ExifIFD:CreateDate (PrintConvInv) There are tags that allow for just dates, like |
Better write tag support was implemented in the newest release. |
Works like a charm now, much appreciated! |
Describe the bug
Writing ExifDateTime fails with an assertion error.
To Reproduce
Environment (please complete the following information):
exiftool-vendored v8.12.0
node v10.10.0
Windows 10
The text was updated successfully, but these errors were encountered: