[jira] Commented: (LANG-59) [lang] DateUtils.truncate method is buggy when dealing with DST switching hours

2006-07-20 Thread Henri Yandell (JIRA)
[ 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

[jira] Commented: (LANG-59) [lang] DateUtils.truncate method is buggy when dealing with DST switching hours

2006-07-15 Thread Henri Yandell (JIRA)
[ 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

[jira] Commented: (LANG-59) [lang] DateUtils.truncate method is buggy when dealing with DST switching hours

2006-07-04 Thread Li Zhang (JIRA)
[ 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]

[jira] Commented: (LANG-59) [lang] DateUtils.truncate method is buggy when dealing with DST switching hours

2006-07-04 Thread Henri Yandell (JIRA)
[ 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

[jira] Commented: (LANG-59) [lang] DateUtils.truncate method is buggy when dealing with DST switching hours

2006-07-04 Thread Li Zhang (JIRA)
[ 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

[jira] Commented: (LANG-59) [lang] DateUtils.truncate method is buggy when dealing with DST switching hours

2006-07-03 Thread Henri Yandell (JIRA)
[ 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

[jira] Commented: (LANG-59) [lang] DateUtils.truncate method is buggy when dealing with DST switching hours

2006-06-26 Thread Henri Yandell (JIRA)
[ 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