libgimpbase: fix #14731 incorrect day/month separators in XMP metadata
In 6b10cce6 I 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.
This commit is contained in:
parent
2346acbfc2
commit
f02910d00f
1 changed files with 1 additions and 1 deletions
|
|
@ -1761,7 +1761,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