Modify

Opened 8 years ago

Closed 8 years ago

#7228 closed enhancement (fixed)

HTC Sensation uses / as date separator, date parsed wrong when geotagging

Reported by: hildenae@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: htc sensation date format slash Cc:

Description

The to linked images are parsed as

  • 01/08/0172 17:39:26
  • 01/08/0173 21:26:35

when geotagging in JOSM (Timestamp from photo (read from EXIF))

They were taken 2012-01-05 and 2012-01-06. The time is correct.

Attachments (2)

IMAG0224.jpg (580.9 KB) - added by hildenae@… 8 years ago.
IMAG0223.jpg (174.5 KB) - added by hildenae@… 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by hildenae@…

Attachment: IMAG0224.jpg added

Changed 8 years ago by hildenae@…

Attachment: IMAG0223.jpg added

comment:1 Changed 8 years ago by Cobra

src/com/drew/metadata/Directory.java has a nice extendable list (at line 562) of date patterns, but sadly this isn't used...

Instead, DateParser is used (which calls datatypeFactory.newXMLGregorianCalendar(date)) which apparently doesn't like "yyyy/mm/dd HH:mm:ss".

Last edited 8 years ago by Cobra (previous) (diff)

comment:2 Changed 8 years ago by simon04

So, probably:

Last edited 8 years ago by simon04 (previous) (diff)

comment:3 Changed 8 years ago by bastiK

Resolution: fixed
Status: newclosed

In [4772/josm]:

fixed #7228 - HTC Sensation uses / as date separator, date parsed wrong when geotagging

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.