Thread

Posted on Thu Dec 13 11:46:37 2007 by schmidtze
SubSec time in XMP:DateTimeOriginal
Hi, I didn't find out by now how to set the SubSec time in XMP fields. I did it like this -XMP:DateTimeOriginal="2007-10-31T09:25:27.08+01:00" but the ".08" will be ignored. I know, for EXIF data there is a special tag, but for XMP its isn't, isn't it? Best regards Friedemann
Direct Responses: 6679 | Write a response
Posted on Thu Dec 13 14:58:42 2007 by exiftool in response to 6678
Re: SubSec time in XMP:DateTimeOriginal
Hi Friedemann,

I introduced more strict date/time parsing which unfortunately strips off the decimal seconds if it exists. I will fix this. But until then, you can bypass the date/time parsing with the -n option -- this will allow you to do what you want.

- Phil
Direct Responses: 6686 | 7711 | Write a response
Posted on Thu Dec 13 22:07:31 2007 by schmidtze in response to 6679
Re: SubSec time in XMP:DateTimeOriginal
Hi Phil, using the -n options seems not to work, perhaps I'm doing something wrong. Because I don't want to use the -n for all the commands, I append it by using "-execute" like this: ... -execute -n -XMP:DateTimeOriginal="2007-10-31T09:25:27.08+01:00" The I get error: "Invalid date or time format (should be YYYY:MM:DD HH:MM:SS[+/-HH:MM]) for XMP-exif:DateTimeOriginal Nothing to do." Regards Friedemann
Direct Responses: 6691 | Write a response
Posted on Fri Dec 14 14:00:31 2007 by exiftool in response to 6686
Re: SubSec time in XMP:DateTimeOriginal
Hi Friedemann,

I can't see how I could be any clearer than the error message you got.

Try using the indicated format.

- Phil
Direct Responses: 6694 | Write a response
Posted on Fri Dec 14 16:28:09 2007 by schmidtze in response to 6691
Re: SubSec time in XMP:DateTimeOriginal
Hi Phil, excuse me please, but my intention was to add the subsec time which isn't shown in this "YYYY:MM:DD HH:MM:SS[+/-HH:MM]" - or maybe I'm blind ;-). But I'll try it like this "YYYY:MM:DD HH:MM:SS.SSSS[+/-HH:MM]"... Best regards Friedemann
Direct Responses: 6695 | Write a response
Posted on Fri Dec 14 18:50:36 2007 by exiftool in response to 6694
Re: SubSec time in XMP:DateTimeOriginal
Ah right. That reminds me to update his message with sub-seconds. Thanks.
Write a response
Posted on Sun Apr 20 23:45:31 2008 by schmidtze in response to 6679
Re: SubSec time in XMP:DateTimeOriginal
I only want to remind you about this issue ;-) I think it isn't fixed by now, is it? Best regards Friedemann
Direct Responses: 7713 | Write a response
Posted on Mon Apr 21 01:47:12 2008 by exiftool in response to 7711
Re: SubSec time in XMP:DateTimeOriginal
I believe this is fixed now. - Phil
Write a response