Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
The test case for the TimeStamp converter, ExtendedTypesTest.java, has a hard coded value used to compare the newly generated Timestamp object. This value is dependent on the TimeZone of the user running the test suite and fails for people in time zones other than "Europe/London"!
The attached patch sets the default TimeZone to GMT before asserting if the Timestamp values are equal. It also modifies the hard coded Timestamp value to use GMT as the basis for comparison.