commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LANG-654) DateUtils.truncate method is buggy when dealing with DST switching hours
Date Mon, 21 Oct 2013 05:44:45 GMT

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

Henri Yandell updated LANG-654:
-------------------------------

    Fix Version/s:     (was: 3.x)
                   Patch Needed

> 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
>             Fix For: Patch Needed
>
>
> 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.1#6144)

Mime
View raw message