Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: 4.4.20, 4.5.8, 4.6.11
-
Fix Version/s: None
-
Component/s: Core CiviCRM
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
When using CiviCRM in different language than English and using date formats with month names like (M d, yy – d M yy – MM d, yy ...) the english day suffix is displayed (st, nd, rd, th) when it shouldn't
It doesn't affects all the dates, but in some cases (Contact's birth_date for example)
I think this part of the code must be skipped if the CiviCRM is not using English language
https://github.com/civicrm/civicrm-core/blob/master/CRM/Utils/Date.php#L381
For example in french: 18th janvier, 2007 when should be 18 janvier, 2007