ExifTool Forum

General => Metadata => Topic started by: 11august on May 20, 2025, 02:40:47 PM

Title: Odd date/time tag
Post by: 11august on May 20, 2025, 02:40:47 PM
Hello all !

Is any of you ever saw this date/time tag written like this ?

Instead of the classic ":" between the value you have a "-" (see attached file)

Is it a standard EXIF use and does that mean something special about the camera or is there anything else that I miss ?

Thank you for your help !
PB-Date.jpg
Title: Re: Odd date/time tag
Post by: Phil Harvey on May 20, 2025, 02:47:52 PM
Please check your file before you upload it.  The file you uploaded doesn't contain any EXIF.

- Phil

Edit: Ah, right.  The attached file was a screenshot, not the example file.
Title: Re: Odd date/time tag
Post by: greybeard on May 20, 2025, 02:52:51 PM
Do you have the original file from the camera before being processed by the Lizardq software?
Title: Re: Odd date/time tag
Post by: StarGeek on May 20, 2025, 04:29:49 PM
Yes, there are bad programs out there that will write metadata incorrectly.

You can try something like this to fix it (I think)
exiftool -AllDates= -TagsFromFile @ -AllDates /path/to/files/
Title: Re: Odd date/time tag
Post by: 11august on May 21, 2025, 05:58:16 AM
Quote from: greybeard on May 20, 2025, 02:52:51 PMDo you have the original file from the camera before being processed by the Lizardq software?
Unfortunately, not !

Quote from: StarGeek on May 20, 2025, 04:29:49 PMYes, there are bad programs out there that will write metadata incorrectly.

You can try something like this to fix it (I think)
exiftool -AllDates= -TagsFromFile @ -AllDates /path/to/files/

Thank you StarGeek, will try.

Do you ever saw such bad writings for Date/Time ?
Title: Re: Odd date/time tag
Post by: greybeard on May 21, 2025, 06:23:39 AM
Quote from: 11august on May 21, 2025, 05:58:16 AMDo you ever saw such bad writings for Date/Time ?

The date part of the Date/Time appears to be in ISO 8601 format.

If you would prefer to have consistent format with colons you could add the following:

-d "%Y:%m:%d %T"
Title: Re: Odd date/time tag
Post by: StarGeek on May 21, 2025, 09:34:18 AM
Quote from: 11august on May 21, 2025, 05:58:16 AMDo you ever saw such bad writings for Date/Time ?

Yes. Never with better programs such as Lightroom. Usually in apps or simple programs.
Title: Re: Odd date/time tag
Post by: StarGeek on May 21, 2025, 09:40:28 AM
Quote from: greybeard on May 21, 2025, 06:23:39 AMThe date part of the Date/Time appears to be in ISO 8601 format.

If you would prefer to have consistent format with colons you could add the following:

-d "%Y:%m:%d %T"

Unfortunately, %T doesn't work on Windows. We have to make do with -d "%Y:%m:%d %H:%M:%S"
<*angsty teenager voice*> Ughh, so much typing
Title: Re: Odd date/time tag
Post by: greybeard on May 21, 2025, 10:39:59 AM
Quote from: StarGeek on May 21, 2025, 09:40:28 AMUnfortunately, %T doesn't work on Windows. We have to make do with -d "%Y:%m:%d %H:%M:%S"
<*angsty teenager voice*> Ughh, so much typing

Thanks - I keep forgetting there are more operating system differences in using Exiftool than just changing single and double quotes.