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: | 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)
Change History (5)
by , 13 years ago
Attachment: | IMAG0224.jpg added |
---|
by , 13 years ago
Attachment: | IMAG0223.jpg added |
---|
comment:2 by , 13 years ago
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?
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".