[
https://issues.apache.org/jira/browse/LANG-1462?focusedWorklogId=737684&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-737684
]
ASF GitHub Bot logged work on LANG-1462:
----------------------------------------
Author: ASF GitHub Bot
Created on: 07/Mar/22 18:11
Start Date: 07/Mar/22 18:11
Worklog Time Spent: 10m
Work Description: mbuiakova commented on pull request #863:
URL: https://github.com/apache/commons-lang/pull/863#issuecomment-1060980004
> @mbuiakova You'll need to update the Javadoc to reflect the change in
behavior. For the error, I'd start with Google ;-)
Thank you for your feedback, I updated the Javadoc.
I think this error is false-positive because I can't see where the parameter
is said to be non-null and we check for the null value everywhere. Maybe we
should suppress it?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 737684)
Time Spent: 50m (was: 40m)
> After version 3.4 DateFormatUtils has a bug
> -------------------------------------------
>
> Key: LANG-1462
> URL: https://issues.apache.org/jira/browse/LANG-1462
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.time.*
> Affects Versions: 3.5, 3.6, 3.7, 3.8, 3.9, 3.8.1
> Reporter: Lijun Liang
> Priority: Critical
> Time Spent: 50m
> Remaining Estimate: 0h
>
> The code is as follows :
> Calendar cale = Calendar.getInstance();
> System.out.println("Old time is " + DateFormatUtils.format(cale,
> "yyyyMMddHHmmss"));
> cale.setTimeZone(TimeZone.getTimeZone("JST"));
> System.out.println("New time is " + DateFormatUtils.format(cale,
> "yyyyMMddHHmmss"));
>
> The results of commons-lang3 3.4:
> Old time is 20190605144536
> New time is 20190605154536
>
> The results of the version after commons-lang3 3.4:
> Old time is 20190605144536
> New time is 20190605144536
>
> We found that the time zone setting was invalidated when it was formatted
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)