[#13831] - Formatting date in a Text Field with a pattern adds one year on dec 28

Category:
Bug report
Priority:
Normal
Status:
New
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

A Text Field is populated with a date, may be mysql field or generated with the Date function.
It's formatted with the pattern dd-MMM-YYYY and works OK, except for december 28 (tested with 2020-12-28, 2021-12-28 and 2005-12-28);
in this case the formatted value adds one year.

AttachmentSize
Image icon jasper_date_format_bug.jpg73.54 KB
v7
TextField
agustin.farias's picture
Joined: Feb 6 2015 - 8:03pm
Last seen: 3 weeks 4 days ago
Feedback