[
http://issues.apache.org/jira/browse/LANG-59?page=comments#action_12422554 ]
Henri Yandell commented on LANG-59:
---
Now I've actually done the commit. Doh.
svn ci -m "Adding Niall's fix for LANG-59 - an edge case in date truncation -
and his
[
http://issues.apache.org/jira/browse/LANG-59?page=comments#action_12421377 ]
Henri Yandell commented on LANG-59:
---
Very, very cool. Patch applied locally and passes tests. Will run the tests a
few times through the day tomorrow as they tend t
[
http://issues.apache.org/jira/browse/LANG-59?page=comments#action_12419168 ]
Li Zhang commented on LANG-59:
--
Forget my previous post. The fix is broken. The problem is sometimes when you
call Calendar.set method the DST_OFFSET field is reset to 0.
> [lang]
[
http://issues.apache.org/jira/browse/LANG-59?page=comments#action_12419167 ]
Henri Yandell commented on LANG-59:
---
Many thanks - any thoughts on why the test case only fails some of the time?
> [lang] DateUtils.truncate method is buggy when dealing with
[
http://issues.apache.org/jira/browse/LANG-59?page=comments#action_12419165 ]
Li Zhang commented on LANG-59:
--
I did a little hack and found this bug could be fixed with the following
modification on DateUtils.modify method:
private static void modify(Cale
[
http://issues.apache.org/jira/browse/LANG-59?page=comments#action_12419010 ]
Henri Yandell commented on LANG-59:
---
Most frustatingly, sometimes the test passes and sometimes it fails. Possibly
based on time of day the test is run.
> [lang] DateUtils.tru
[
http://issues.apache.org/jira/browse/LANG-59?page=comments#action_12417931 ]
Henri Yandell commented on LANG-59:
---
Definitely a reproducable bug - not sure how to fix it though.
> [lang] DateUtils.truncate method is buggy when dealing with DST switching