Vystup helperu date po cesky

- iguana007
- Člen | 970
Nastav si locales na češtinu. Máš to napsané i v manuálu:
http://php.net/…ion.date.php

- Honza Kuchař
- Člen | 1662
Ale na locale bacha! Na některých serverech (včetně toho mého) je to chová dost nestabilně…
http://www.php.net/…etlocale.php napsal(a):
The locale information is maintained per process, not per thread. If you are running PHP on a multithreaded server API like IIS or Apache on Windows, you may experience sudden changes in locale settings while a script is running, though the script itself never called setlocale(). This happens due to other scripts running in different threads of the same process at the same time, changing the process-wide locale using setlocale().
//EDIT: Tzn. občas to není česky.
Editoval Honza Kuchař (14. 5. 2010 0:54)
RSS tématu
Téma zavřeno