You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2011/01/17 04:11:44 UTC

[jira] Updated: (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 ]

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

    Fix Version/s: 3.1

Assigning to 3.1 for investigation there. It's not blocking for 3.0.

> 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: 3.1
>
>
> 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.