php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21720 strtime ("%e"); don't run in strlocale("fr")
Submitted: 2003-01-17 21:35 UTC Modified: 2003-01-17 21:51 UTC
From: clefebvre at netcourrier dot com Assigned:
Status: Not a bug Package: Date/time related
PHP Version: 4.2.0 OS: Windows XP and Linux Mandrake 9
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: clefebvre at netcourrier dot com
New email:
PHP Version: OS:

 

 [2003-01-17 21:35 UTC] clefebvre at netcourrier dot com
In fonction strtime, "%e" return the day in the month, but it doesn't run with strlocale("fr") or strlocale("Fr_fr")    Others args run properly.
For example, try this :
strlocale ("fr");
echo strtime ("%e");

As a result, you have nothing (or "null" if you prefer...)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-17 21:51 UTC] sniper@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


And if this fails with 4.3.0, try the stable snapshots at:

  http://snaps.php.net/

If it fails with those too, come up with a REAL example script. (starts with <?php and ends with ?> and code between..)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 17:01:29 2024 UTC