Modify ↓
Opened 17 months ago
Closed 17 months ago
#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)
Change History (5)
Changed 17 months ago by hildenae@…
Changed 17 months ago by hildenae@…
comment:1 Changed 17 months ago by Cobra
comment:2 Changed 17 months ago by simon04
So, probably:
- Request the format to be added on the issue tracker of metadata-extractor on http://code.google.com/p/metadata-extractor/issues/list
- Change the JOSM source (ExifReader) code to use that function
- Integrate the metadata-extractor repository as external svn repository?
comment:3 Changed 17 months ago by bastiK
- Resolution set to fixed
- Status changed from new to closed
In [4772/josm]:
Note: See
TracTickets for help on using
tickets.



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".