php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9948 possible bug in strtotime
Submitted: 2001-03-23 01:17 UTC Modified: 2001-04-17 16:05 UTC
From: jaybinks at audiorealm dot com Assigned:
Status: Closed Package: Date/time related
PHP Version: 4.0.4pl1 OS: Linux
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: jaybinks at audiorealm dot com
New email:
PHP Version: OS:

 

 [2001-03-23 01:17 UTC] jaybinks at audiorealm dot com
when providing the string "3/23/01 1:01:29 PM"
to strtotime it produces in-correct output 

Im assuming you wish to make this function (as with all functions) as good as possible, so I guess that being able to convert from this format would be on the cards some times.

in Australia we generaly do dates the opposite to in the US. IE Month/Day/Year so support would be good .

thankyou

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-17 16:05 UTC] hholzgra@php.net
the unix date parsing code is not that clever

how should it treat 03/04/05, for example?

it will never be able to parse any possible
date format in the world or even be locale
aware for any possible date format in a 
single country ...

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 10:01:30 2024 UTC