You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Pascal Schumacher (JIRA)" <ji...@apache.org> on 2016/05/28 16:19:13 UTC
[jira] [Closed] (LANG-654) DateUtils.truncate method is buggy when
dealing with DST switching hours
[ https://issues.apache.org/jira/browse/LANG-654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pascal Schumacher closed LANG-654.
----------------------------------
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)