Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Not A Problem
-
None
-
None
-
None
Description
When converting timestamp/date to string group, toString is called on java.sql.Date and java.sql.Timestamp, which pick up the default time zone to represent the date/time as a String. This can lead to the wrong String representation. See ConvertTreeReaderFactory.StringGroupFromTimestampTreeReader or ConvertTreeReaderFactory.StringGroupFromDateTreeReader.
StringGroupFromTimestampTreeReader should apply shifting, similar to TreeReaderFactory.TimestampTreeReader.
StringGroupFromDateTreeReader should use a date formatter in UTC.