php.net |  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
 [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).  

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-22 11:46 UTC] hholzgra@php.net
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 
http://bugs.php.net/bug.php?id=16718
 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Thu Dec 13 08:01:25 2018 UTC