Skip Menu |

This queue is for tickets about the Image-ExifTool CPAN distribution.

Report information
The Basics
Id: 105891
Status: rejected
Priority: 0/
Queue: Image-ExifTool

People
Owner: Nobody in particular
Requestors: ishwest [...] yandex.kz
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 9.90
Fixed in: (no value)



Subject: Date formatting in Samsung panoramas
Some panoramas created with Samsung Galaxy Note III camera contain original date in a messed up format: Show quoted text
>=== CUT ===<
$ exiftool 20140107_122930.jpg | grep -i date | grep -i -v file Modify Date : 07/01/2014 12:30 Date/Time Original : 07/01/2014 12:30 Create Date : 2014-01-07 12:30:12 First Photo Date : 2014:01:07 08:29:30.870Z Last Photo Date : 2014:01:07 08:30:34.188Z Date Guess : 07/01/2014 12:30 Show quoted text
>=== CUT ===<
I suggest a patch with a very specific workaround.
Subject: image-exiftool-pm-9-90-date-formatting-in-samsung-panoramas.patch
4495a4496,4499 > if ($date =~ /(\d{2})\/(\d{2})\/(\d{4})\s+(\d{2}):(\d{2})/) { > # Samsung panorama > $date = sprintf '%04i-%02i-%02i %02i:%02i:00', $3, $1, $2, $4, $5; > }
Subject: Re: [rt.cpan.org #105891] Date formatting in Samsung panoramas
Date: Thu, 16 Jul 2015 06:40:44 -0400
To: bug-Image-ExifTool [...] rt.cpan.org
From: Phil Harvey <phil [...] owl.phy.queensu.ca>
Thanks for the bug report, however I don't think it is ExifTool's place to try to correct all of the improperly written metadata out there. If I did this, then ExifTool would be nothing but a mass of patches (even more than it is now). Perhaps submitting a bug report to Samsung is a better idea. - Phil