﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
18015	JOSM displays unexpected EXIF time, maybe due to wrongly considering the user's timezone	skorbut	team	"==== What steps will reproduce the problem?

1. Open the attached image
2. Look at the JOSM window titled ""Geotagged Images""
3. Look at the upper left corner, at the line starting with ""EXIF time""

==== What is the expected result?

The line should read `2019-07-19 13:14:08.985`, which is also the value that `exiftool` prints for the ""Date/Time Original"" EXIF field.

==== What happens instead?

The line reads `2019-07-19 15:14:08.985` instead, i.e. it differs 2 hours from the value stored in the EXIF field.

My hypothesis is that JOSM adds two hours (=my offset to UTC timezone) to the ""Date/Time Original"" EXIF value. (Small note: I manually edited the ""Date/Time Original"" EXIF value to be sure which exact value is read. Other candidates would have been ""GPS Date/Time"", ""Create Date"", ""Modify Date"").


==== Please provide any additional information below. Attach a screenshot if possible.

{{{
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-08-05 20:49:54 +0200 (Mon, 05 Aug 2019)
Build-Date:2019-08-06 01:30:53
Revision:15283
Relative:URL: ^/trunk

Identification: JOSM/1.5 (15283 en) Linux Ubuntu 16.04.6 LTS
Memory Usage: 1495 MB / 3641 MB (292 MB allocated, but free)
Java version: 1.8.0_222-8u222-b10-1ubuntu1~16.04.1-b10, Private Build, OpenJDK 64-Bit Server VM
Screen: :0.0 2560x1440
Maximum Screen Size: 2560x1440
fonts-noto: fonts-noto:all-20160116-1
Dataset consistency test: No problems found

Plugins:
+ apache-commons (34908)
+ editgpx (34908)
+ photo_geotagging (34908)
+ photoadjust (34977)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: Error reading EXIF from file: com.drew.metadata.MetadataException: Tag 'GPS Latitude' has not been set -- check using containsTag() first
- E: Error reading EXIF from file: com.drew.metadata.MetadataException: Tag 'GPS Latitude' has not been set -- check using containsTag() first
- W: Region [geoimage-thumbnails_BLOCK_v2] Resetting cache
- W: Region [WMTS_BLOCK_v2] Resetting cache
}}}
"	defect	closed	normal	20.01	Core image mapping		fixed	template_report exif timezone	StephaneP
