diff options
-rw-r--r-- | save-xml.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/save-xml.c b/save-xml.c index 9f2c2b46a..17f463a93 100644 --- a/save-xml.c +++ b/save-xml.c @@ -333,6 +333,8 @@ static void save_picture(struct membuffer *b, struct picture *pic) put_string(b, " <picture filename='"); put_string(b, pic->filename); put_string(b, "'"); + if (pic->timestamp) + put_format(b, " timestamp='%ld'", pic->timestamp); if (pic->latitude.udeg || pic->longitude.udeg) { put_degrees(b, pic->latitude, " gps='", " "); put_degrees(b, pic->longitude, "", "'"); |