[
https://issues.apache.org/jira/browse/LANG-1638?focusedWorklogId=791662&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-791662
]
ASF GitHub Bot logged work on LANG-1638:
----------------------------------------
Author: ASF GitHub Bot
Created on: 16/Jul/22 15:18
Start Date: 16/Jul/22 15:18
Worklog Time Spent: 10m
Work Description: codecov-commenter commented on PR #924:
URL: https://github.com/apache/commons-lang/pull/924#issuecomment-1186216920
#
[Codecov](https://codecov.io/gh/apache/commons-lang/pull/924?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
Report
> Merging
[#924](https://codecov.io/gh/apache/commons-lang/pull/924?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
(bbeb3f4) into
[master](https://codecov.io/gh/apache/commons-lang/commit/e0818e3383f71ddff62854f85712cb6b7d187c9b?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
(e0818e3) will **not change** coverage.
> The diff coverage is `n/a`.
```diff
@@ Coverage Diff @@
## master #924 +/- ##
=========================================
Coverage 91.70% 91.70%
Complexity 7415 7415
=========================================
Files 188 188
Lines 15893 15893
Branches 2976 2976
=========================================
Hits 14574 14574
Misses 727 727
Partials 592 592
```
| [Impacted
Files](https://codecov.io/gh/apache/commons-lang/pull/924?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
| Coverage Δ | |
|---|---|---|
|
[...org/apache/commons/lang3/time/DateFormatUtils.java](https://codecov.io/gh/apache/commons-lang/pull/924/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2NvbW1vbnMvbGFuZzMvdGltZS9EYXRlRm9ybWF0VXRpbHMuamF2YQ==)
| `95.55% <ø> (ø)` | |
------
[Continue to review full report at
Codecov](https://codecov.io/gh/apache/commons-lang/pull/924?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn
more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by
[Codecov](https://codecov.io/gh/apache/commons-lang/pull/924?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
Last update
[e0818e3...bbeb3f4](https://codecov.io/gh/apache/commons-lang/pull/924?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
Read the [comment
docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
Issue Time Tracking
-------------------
Worklog Id: (was: 791662)
Time Spent: 20m (was: 10m)
> commons-lang3-3.11 - Date
> --------------------------
>
> Key: LANG-1638
> URL: https://issues.apache.org/jira/browse/LANG-1638
> Project: Commons Lang
> Issue Type: Bug
> Affects Versions: 3.11
> Environment: Production
> Reporter: Shailendra Soni
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> December 27th to 31st 2020 gets converted into 2021 while trying to use
> `DateFormatUtils.format` method.
> {code:java}
> import org.apache.commons.lang3.time.DateFormatUtils;
> import org.apache.commons.lang3.time.DateUtils;
> public class DateEx {
> public static void main(String... args) throws Exception{
> String startDateStr = "2020-12-31";
> String startDate = DateFormatUtils
> .format(DateUtils.parseDate(startDateStr, "YYYY-MM-dd"),
> "YYYY-MM-dd-HH.MM.SS.mmmmmm");
> System.out.println("startDate with Timestamp - " + startDate);
> }
> }
> {code}
>
> Actual Output - 2021-12-31-00.12.00.000000
> Expected Output - 2020-12-31-00.12.00.000000
>
> Can someone look into it.
>
> Version :-
> # Java -> 1.8.0_212-b10
> # Common-lang3 -> 3.11
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)