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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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).  

Patches

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC