"The default datetime format for the object’s loca le"

[email protected] (Bill Moseley)
Newsgroups perl.datetime
Message-ID <CAKhN_m5Oje62786cVFRWrtAG3AX53D7jwMt0wiDEEWKKt2GevQ@mail.gmail.com>
We have been using formats %c, %x and %X for localizing dates based on
Locale.   Mostly works ok, but for Korean we are getting this:

2012. 10. 18. 오후 4:09:05


where (I've been told) we would like this format:

2012년 10월 22일 월요일 오후 01:44 PDT


Is this formatting done in DateTime?   I'm wondering how we can set the
default format used by %c for a given locale.

In a web app what we are currently doing is
setting DateTime->DefaultLocale() per request.  The DateTime objects are
inflated from database rows with DBIC.

-- 
Bill Moseley
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.