php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6254 checkdate accepts year 0
Submitted: 2000-08-19 12:05 UTC Modified: 2000-09-03 00:08 UTC
From: chris at chrullrich dot de Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0.1pl2 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: chris at chrullrich dot de
New email:
PHP Version: OS:

 

 [2000-08-19 12:05 UTC] chris at chrullrich dot de
The function checkdate() accepts the year 0 as valid.
I don't know about Julian or Jewish or Islamic calendars,
but the Gregorian calendar does not contain a year 0.
1 BC -> 1 AC.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-03 00:08 UTC] sniper@php.net
Fixed in CVS. Thanks.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 13:01:30 2024 UTC