Linux: Timestamp century error
Posted: Thu Mar 27, 2014 8:27 am
This is just a warning about a current bug/misfeature in v 0.64 that I noticed when I was trying to enter correct dates into scans of old photos.
It requires a fairly rare set of circumstances:
The code seems to simply use whatever century was in the previous entry.
You cannot type a 4-digit year if the format specifies a 2-digit display.
It will accept a date for files that is not representable in the filesystem on which the image resides.
The workaround is to either
It requires a fairly rare set of circumstances:
- I have replicated under Linux and Windows 7.
- a date format is set to display 2 digits of years
- in XnViewMP go to tools->change timestamp, select specify date/time
- in the date box just select and delete the existing value and type in your new date, using the same format.
The code seems to simply use whatever century was in the previous entry.
You cannot type a 4-digit year if the format specifies a 2-digit display.
It will accept a date for files that is not representable in the filesystem on which the image resides.
The workaround is to either
- use the drop-down box to show the calendar gui tool, (you can select and type directly into the year spin-box) and/or
- change your short-date format to display 4 digits (Windows only - I can't find how to make the Linux version use a different format)