Modify ↓
Opened 7 years ago
Closed 7 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)
Changed 7 years ago by
Attachment: | patch-test-fix-timezone.patch added |
---|
comment:1 Changed 7 years ago by
Milestone: | → 16.06 |
---|
comment:2 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
In 10475/josm: