|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
25 + 36 = ?
Subscribe to this entry?

 [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 11:01:32 2024 UTC