Modify ↓
Opened 9 years ago
Closed 9 years ago
#13045 closed enhancement (fixed)
[Patch] Inconsistent timezone handling in tests/nmea
Reported by: | michael2402 | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 16.06 |
Component: | Unit tests | Version: | |
Keywords: | gsoc-core | Cc: | Don-vip, bastiK, stoecker |
Description
Currently, some tests fail because the timezone handling in JOSM is inconsistent.
In NMEA, the time is in UTC. However NmeaReader
, uses SimpleDateFormat
with the default (local) timezone.
DateUtils.fromDate
and DateUtils.fromString
use UTC.
The exif test assumed that the java time zone was set to Europe/Berlin.
Attachments (1)
Change History (3)
by , 9 years ago
Attachment: | patch-test-fix-timezone.patch added |
---|
comment:1 by , 9 years ago
Milestone: | → 16.06 |
---|
comment:2 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 10475/josm: