|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14180 xml in zlib.xml does not use CDATA for code
Submitted: 2001-11-22 11:38 UTC Modified: 2001-11-22 11:46 UTC
From: bmar at centrum dot is Assigned:
Status: Not a bug Package: Date/time related
PHP Version: 4.0CVS-2001-11-19 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: bmar at centrum dot is
New email:
PHP Version: OS:


 [2001-11-22 11:38 UTC] bmar at centrum dot 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).  


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-22 11:46 UTC]
thats an error in the locale file on your system
and not a php problem

good old "garbage in -> garbage out" ;)
 [2002-04-21 06:23 UTC] bs_php at infeer dot com
Confirming your bug (PHP 4.1.2 on W2k)
setlocale() on windows is the problem!
See bug #16718
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 28 10:01:31 2024 UTC