Opened 12 years ago
Last modified 12 years ago
#210 new defect
Incorrect Time value returned when TZ = GMT0
Reported by: | mdb23911 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Enhanced |
Component: | general | Version: | 1.6.0 Build 27 GA5 |
Severity: | medium | Keywords: | UTC time |
Cc: | martin.blanker@… |
Description
I wrote a small Java program (attached) to understand what time value is returned on my machine.
What I expected (by setting TZ=GMT0) is that choosing UTC or GMT0 the time value woulds not be affected by DST (Daylight Saving Time). To my surprise it is affected.
The output of 20130309 (DST not in effect) is OK. The output of 20130404 (DST in effect in Portugal but TZ=GMT0) is NOK because one hour is subtracted.
I add a zip file with the output and program used.
Can you explain this behavior and how to solve this?
Attachments (1)
Change History (2)
by , 12 years ago
Attachment: | JTIMETST.ZIP added |
---|
comment:1 by , 12 years ago
Summary: | Time value returned while TZ = GMT0 → Incorrect Time value returned when TZ = GMT0 |
---|
Note:
See TracTickets
for help on using tickets.
JAVA test program and output