stable

Clone or download

Read-only

Fix request #35504 Date formatter adds 1 year in some dates

Given a tracker with a timeframe semantic configured to start date and end date, and given an artifact in this tracker with a end date set to the last day of the year (for instance December the 31th), then the artifact tooltip or the roadmap widget will add 1 year to the defined end date. Note: in ISO YYYY represents week-numbering year and not year[1] [1] https://en.wikipedia.org/wiki/ISO_week_date Change-Id: I5fde932199ed7f1fbebe401fa6720e6ca94aa412

Modified Files

Name
M src/common/language/DateFormat.php +2 −2 Go to diff View file
M tests/unit/common/language/DateFormatTest.php +11 −1 Go to diff View file