Modify

#7228 closed enhancement (fixed)

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

Reported by: hildenae@… Owned by: team
Priority: normal 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@… 17 months ago.
IMAG0223.jpg (174.5 KB) - added by hildenae@… 17 months ago.

Download all attachments as: .zip

Change History (5)

Changed 17 months ago by hildenae@…

Changed 17 months ago by hildenae@…

comment:1 Changed 17 months 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 17 months ago by Cobra (previous) (diff)

comment:2 Changed 17 months ago by simon04

So, probably:

Last edited 17 months ago by simon04 (previous) (diff)

comment:3 Changed 17 months ago by bastiK

  • Resolution set to fixed
  • Status changed from new to closed

In [4772/josm]:

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.