php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50680 "eight" -> "eighth"
Submitted: 2010-01-06 16:43 UTC Modified: 2010-01-07 12:54 UTC
From: danielc at analysisandsolutions dot com Assigned:
Status: Closed Package: Date/time related
PHP Version: 5.3SVN-2010-01-06 (SVN) OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: danielc at analysisandsolutions dot com
New email:
PHP Version: OS:

 

 [2010-01-06 16:43 UTC] danielc at analysisandsolutions dot com
Description:
------------
In ext/date/lib/parse_date.re, reltextnumber and timelib_reltext_lookup contain ordinal numbers, but when it comes to 8th, it mistakenly uses "eight", rather than "eighth".  Guess it now needs to contain both to provide backwards compatibility.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-01-07 12:54 UTC] svn@php.net
Automatic comment from SVN on behalf of iliaa
Revision: http://svn.php.net/viewvc/?view=revision&revision=293216
Log: Fixed bug #50680 (strtotime() does not support eighth ordinal number).
 [2010-01-07 12:54 UTC] iliaa@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 [2010-01-14 15:45 UTC] svn@php.net
Automatic comment from SVN on behalf of iliaa
Revision: http://svn.php.net/viewvc/?view=revision&revision=293548
Log: Added test for bug #50680
 [2010-02-03 19:44 UTC] svn@php.net
Automatic comment from SVN on behalf of pajoye
Revision: http://svn.php.net/viewvc/?view=revision&revision=294443
Log: - Fixed bug #50680 (strtotime() does not support eighth ordinal number).
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Feb 01 14:01:29 2025 UTC