Opened 7 years ago

Last modified 7 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)

JTIMETST.ZIP (12.9 KB) - added by mdb23911 7 years ago.
JAVA test program and output

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by mdb23911

JAVA test program and output

comment:1 Changed 7 years ago by mdb23911

  • Summary changed from Time value returned while TZ = GMT0 to Incorrect Time value returned when TZ = GMT0
Note: See TracTickets for help on using tickets.