DateUtils.truncate method is buggy when dealing with DST switching hours
-------------------------------------------------------------------------
Key: LANG-654
URL: https://issues.apache.org/jira/browse/LANG-654
Project: Commons Lang
Issue Type: Bug
Components: lang.time.*
Affects Versions: 2.4
Environment: Operating System: Linux Red Hat
Reporter: Maxi
DateUtils.trucate() does not work properly with daylight saving time.
e.g.:
Date: 2010-10-10 05:16:14.0
DateUtils.truncate(date, Calendar.DATE) : Sun Oct 10 01:00:00 CLST 2010
Instead of showing 10/10/2010, it shows 10/10/2010 01:00:00
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.