Re: Deprecate setlocale?
| From: | Stanislav Malyshev | Date: | Wed, 01 Apr 2015 19:23:23 +0000 |
| Subject: | Re: Deprecate setlocale? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-85659@lists.php.net to get a copy of this message | ||
Hi!
> This should be true for number formatting but it's not true for date
> format.
Yes, date format is not internationalized. There are a lot of fixed
formats, so this should not be much of a surprise. One just has to know
which ones aren't. And yes, handling transition between fixed and
localized formats is a pain, that's why setlocale() is usually not a
good idea when you use both.
--
Stas Malyshev
smalyshev@gmail.com