# DateTime and setlocale()

- Thread: https://externals.io/message/30787
- Original archive: https://news-web.php.net/php.internals/30787
- Started by Brian Moon on 2007-07-11T16:17:11+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #30787 — Brian Moon — 2007-07-11T16:17:11+00:00

URL: https://externals.io/message/30787#30787

I was just wondering if it was intentional to ignore `setlocale()` in the 
new DateTime object and its friends?  That is a real let down if it was 
intentional.  Maybe its just a future feature?

-- 

Brian Moon
Senior Developer
------------------------------
http://dealnews.com/
It's good to be cheap =)

---

## #30788 — Derick Rethans — 2007-07-11T16:24:03+00:00

URL: https://externals.io/message/30787#30788 · In reply to: #30787

> I was just wondering if it was intentional to ignore `setlocale()` in the new
> DateTime object and its friends?  That is a real let down if it was
> intentional.  Maybe its just a future feature?

It's intentional for PHP 5.2, not for PHP 6.0. More will come there 
soon.

regards,
Derick
-- 
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
