[
https://issues.apache.org/jira/browse/LANG-1637?focusedWorklogId=530195&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-530195
]
ASF GitHub Bot logged work on LANG-1637:
----------------------------------------
Author: ASF GitHub Bot
Created on: 02/Jan/21 12:56
Start Date: 02/Jan/21 12:56
Worklog Time Spent: 10m
Work Description: ugonen commented on pull request #688:
URL: https://github.com/apache/commons-lang/pull/688#issuecomment-753470530
@garydgregory can you explain why you closed this PR ?
formatting date with year 31 Dec 2020 with pattern YY should result in '21'
but instead you get 'รบ1' (before the fix) which is clearly a bug
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 530195)
Time Spent: 1h (was: 50m)
> FastDatePrinter formatting using YY pattern yields junk digits
> --------------------------------------------------------------
>
> Key: LANG-1637
> URL: https://issues.apache.org/jira/browse/LANG-1637
> Project: Commons Lang
> Issue Type: Bug
> Affects Versions: 3.11
> Reporter: Uri Gonen
> Priority: Minor
> Time Spent: 1h
> Remaining Estimate: 0h
>
> {code:java}
> final GregorianCalendar cal = new GregorianCalendar(2020, 12, 31, 0, 0, 0);
> final DatePrinter printer2Digits = getInstance("YY");
> assertEquals("21", printer2Digits.format(cal));
> {code}
> the above test fails
--
This message was sent by Atlassian Jira
(v8.3.4#803005)