Modify

Opened 13 years ago

Closed 13 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@… 13 years ago.
IMAG0223.jpg (174.5 KB ) - added by hildenae@… 13 years ago.

Download all attachments as: .zip

Change History (5)

by hildenae@…, 13 years ago

Attachment: IMAG0224.jpg added

by hildenae@…, 13 years ago

Attachment: IMAG0223.jpg added

comment:1 by Cobra, 13 years ago

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 13 years ago by Cobra (previous) (diff)

comment:2 by simon04, 13 years ago

So, probably:

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

comment:3 by bastiK, 13 years ago

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.