Opened 11 years ago
Closed 9 years ago
#28472 closed enhancement (wontfix)
WordPress should use setlocale() to ensure consistent string, dates, times and numbers handling
Reported by: | howardtw | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.9.1 |
Component: | I18N | Keywords: | close dev-feedback |
Focuses: | Cc: |
Description
I've grep thru the WordPress source and find no use of "setlocale", I think it should use a default setlocale() to ensure consistent string, dates, times and numbers handling.
For example, in Drupal, it is
setlocale(LC_ALL, 'C');
Change History (2)
Note: See
TracTickets for help on using
tickets.
It's not used for good reasons. Per the PHP docs:
http://us2.php.net//manual/en/function.setlocale.php