ID: 38330 User updated by: thomasvk at gmail dot com Reported By: thomasvk at gmail dot com Status: Bogus Bug Type: Date/time related Operating System: Windows XP SP2 PHP Version: 5.1.4 Assigned To: derick New Comment:
True that, you're totally right. The 'zou...moeten' (should) plays a big part in this little piece of text and I totally oversaw that. My apologies for this bugreport. Kind regards, Thomas Previous Comments: ------------------------------------------------------------------------ [2006-08-08 11:17:12] [EMAIL PROTECTED] Luckily for you I can read dutch as well ;-) However, the phrase "Volgens berekeningen zou de..." means "According to the calculations *should*..." which does not mean that it is going to happen in the first place. As there is no official document to back this Dutch page up we can not consider this as a bug and we won't change it right now. Maybe in the (far) future. ------------------------------------------------------------------------ [2006-08-04 14:14:14] thomasvk at gmail dot com Really sorry for the spam, I thought I was editing, not adding a new comment. I hope it's clear it should return true, not false. ------------------------------------------------------------------------ [2006-08-04 14:13:20] [EMAIL PROTECTED] Derick, do we support THAT far future? =) ------------------------------------------------------------------------ [2006-08-04 14:07:57] thomasvk at gmail dot com Description: ------------ checkdate() returns false on two correct dates, which are 29 February 4905 and 30 February 8228, according to the following source (warning: Dutch!): http://home.wanadoo.nl/~haj.quast/pages/schrikkeljaar.htm I shall translate/quote the paragraph concerning these dates: Correction in the future According to calculations the next correction is due in the year 4905. In this year there will be an extera leapday so it will be 29 February two years in row. A next correction shall be due in the year 8228. That year is already a leapyear in itself so there will be a 30 February. I hope there's a dev who understands Dutch to confirm this. Reproduce code: --------------- $x = checkdate(2, 29, 4905) $y = checkdate(2, 30, 8228) Expected result: ---------------- $x = checkdate(2, 29, 4905) // $x should be true $y = checkdate(2, 30, 8228) // $y should be true Actual result: -------------- $x and $y should both become true. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38330&edit=1
