ExifTool Forum

General => Metadata => Topic started by: jotzet79 on April 12, 2020, 12:46:38 PM

Title: Writing 2 values for 0x882a EXIF:TimeZoneOffset
Post by: jotzet79 on April 12, 2020, 12:46:38 PM
Dear Friends of Exif-MetaData,
I'm trying to write 2 values for EXIF:TimeZoneOffset, which should be possible according to the docs, but it seems, that I'm doing sth wrong:

I set this via JSON using
  "EXIF:TimeZoneOffset": "-3,-3"
for TimeZone Information in South-America for instance...

What I get is:
Not an integer for ExifIFD:TimeZoneOffset

The Documentation states...
0x882a   TimeZoneOffset   int16s[n]   ExifIFD   (1 or 2 values: 1. The time zone offset of DateTimeOriginal from GMT in hours, 2. If present, the time zone offset of ModifyDate)

Do I have to set the "Sep" Separator argument, or do I have to format the values in a special way?

Thank you, and Greets from Vienna/AT,
Joachim
Title: Re: Writing 2 values for 0x882a EXIF:TimeZoneOffset
Post by: StarGeek on April 12, 2020, 01:24:51 PM
Just set the values, no commas, nothing extra.
exiftool -EXIF:TimeZoneOffset="3 3" <FileOrDir>
Title: Re: Writing 2 values for 0x882a EXIF:TimeZoneOffset
Post by: jotzet79 on April 24, 2020, 09:35:16 AM
Wonderful, thank you - that did the trick!  ;D