libgimpbase: fix #14731 incorrect day/month separators in XMP metadata
In6b10cce6I introduced setting created date/time metadata for new images. However, I made a mistake there by using : instead of - between year, month and day for the XMP metadata tags. This commit fixes that. (cherry picked from commitf02910d00f)
This commit is contained in:
parent
4256945b48
commit
c52b339d93
1 changed files with 1 additions and 1 deletions
|
|
@ -1755,7 +1755,7 @@ gimp_metadata_set_creation_date (GimpMetadata *metadata,
|
|||
|
||||
/* XMP: Xmp.photoshop.DateCreated = date when the original image was
|
||||
* taken, this can be before Xmp.xmp.CreateDate. */
|
||||
datetime_buf = g_date_time_format (datetime, "%Y:%m:%dT%T\%:z");
|
||||
datetime_buf = g_date_time_format (datetime, "%Y-%m-%dT%T\%:z");
|
||||
|
||||
gexiv2_metadata_try_set_tag_string (g2metadata,
|
||||
"Xmp.xmp.CreateDate",
|
||||
|
|
|
|||
Loading…
Reference in a new issue