commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duncan Jones (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LANG-654) DateUtils.truncate method is buggy when dealing with DST switching hours
Date Sat, 27 Sep 2014 17:46:34 GMT

     [ https://issues.apache.org/jira/browse/LANG-654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Duncan Jones resolved LANG-654.
-------------------------------
       Resolution: Invalid
    Fix Version/s:     (was: Patch Needed)

Closing as an invalid report. Please comment again if you'd like to reopen this.

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

Mime
View raw message