Year is localized with USE_THOUSAND_SEPARATOR in admin's date hierarchy under certain conditions
|Reported by:||Julien Phalip||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The easiest way to reproduce this bug is:
- Create one single comment, or multiple comments all within the same month.
The year displayed at the top of the page is (for instance): "2,011".
The attached patch fixes the issue and also adds tests for this particular case and for other cases for future-proofing.
See #14895 for a related issue.