Re: PEAR:Date
| From: | l0t3k | Date: | Wed, 30 Oct 2002 15:32:51 +0000 |
| Subject: | Re: PEAR:Date | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-2567@lists.php.net to get a copy of this message | ||
Lukas,
>>How does Date handle I18N?
>>I assume you atleast partly depend on setlocale()?
>>I actually haven't used setlocale() all that much, so I am just
>>wondering if this is a reliable solution (since it does rely on correct
>>settings outside of PHP etc.)
do you have some thoughts on how this should be handled. im working on
some PECL code that should resolve a lot of date/time related issues
(unfortunately, its ZE2 only at the moment, though). however the biggest
unresolved issue is I18N. any suggestions would be welcome.
l0t3k
ps. email me offlist if you need more details
"Lukas Smith" <smith@dybnet.de> wrote in message
news:001401c2800b$92e768f0$4d00a8c0@vandal...
Hi,
So I guess what I mean is if it would make sense to have an alternative
to setlocale().
// The constant telling us what day starts the week. Monday (1) is the
// international standard. Redefine this to 0 if you want weeks to
// begin on Sunday.
define('DATE_CALC_BEGIN_WEEKDAY', 1);
Is this constant really used in the entire application?
Can't setlocale() handle this?
Regards,
Lukas Smith
smith@dybnet.de
_______________________________
DybNet Internet Solutions GbR
Reuchlinstr. 10-11
Gebäude 4 1.OG Raum 6 (4.1.6)
10553 Berlin
Germany
Tel. : +49 30 83 22 50 00
Fax : +49 30 83 22 50 07
www.dybnet.de info@dybnet.de