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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Fri May 17 04:01:34 2024 UTC