Main Menu

Odd date/time tag

Started by 11august, May 20, 2025, 02:40:47 PM

Previous topic - Next topic

11august

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
Co-author and developper of the GEIPAN groupe image analysis software IPACO, part of the French Space Agency CNES

Phil Harvey

#1
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.
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

greybeard

Do you have the original file from the camera before being processed by the Lizardq software?

StarGeek

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/
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

11august

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 ?
Co-author and developper of the GEIPAN groupe image analysis software IPACO, part of the French Space Agency CNES

greybeard

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"

StarGeek

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.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

StarGeek

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
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

greybeard

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.