Bug #14180 Updated: xml in zlib.xml does not use CDATA for code
| From: | bs_php at infeer dot com | Date: | Sun, 21 Apr 2002 10:23:52 +0000 |
| Subject: | Bug #14180 Updated: xml in zlib.xml does not use CDATA for code | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-5495@lists.php.net to get a copy of this message | ||
ID: 14180
Updated by: bs_php@infeer.com
Reported By: bmar@centrum.is
Status: Bogus
Bug Type: Date/time related
Operating System: linux
PHP Version: 4.0CVS-2001-11-19
New Comment:
Confirming your bug (PHP 4.1.2 on W2k)
setlocale() on windows is the problem!
See bug #16718
http://bugs.php.net/bug.php?id=16718
Previous Comments:
------------------------------------------------------------------------
[2001-11-22 11:46:03] hholzgra@php.net
thats an error in the locale file on your system
and not a php problem
good old "garbage in -> garbage out" ;)
------------------------------------------------------------------------
[2001-11-22 11:38:19] bmar@centrum.is
I am doing this:
setlocale('LC_TIME', 'is_IS');
$tmp_sDate = explode('-', $datestamp);
$sDate = strftime('%d. %B %Y', mktime(10, 0, 0, $tmp_sDate[1],
$tmp_sDate[2], $tmp_sDate[0]));
Then I echo $sDate as the Icelandic date format I want. But here's the
problem. There's a grammar error in this, the output from $sDate is
like this:
22. Nóvember 2001
But it should be like this:
22. nóvember 2001 (small letter in the beginning of the name of the
month).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=14180&edit=1