libgimp: fix timezone in IPTC tag Iptc.Application2.TimeCreated
GIMP version: master and maintenance branches
Operating System: ALL
Description of the bug
This is a follow up to @Jehan's submission (Commit 4485296b). The GIMP part completes the changes on the GIMP side but I think that the exiv2 code at https://dev.exiv2.org/issues/1380 needs some modification.
- Exiv2 has moved to github (https://github.com/Exiv2/exiv2). You should get a quicker response if you post there.
TimeValue::write()are used to ouput the string in a human readable format (called by
Value::toString()) but are also used when saving the metadata. When writing to file, the IPTC specification doesn't include the separators '-' and ':' which are useful for humans. This means that exiv2 saves the date and time types in an incorrect format. Your changes now read the data back correctly but for portability between non-exiv2 software, the write issue also needs to be addressed.
I hope this is of some help. I tried posting at dev.exiv2.org but I don't think they allow new accounts.