Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
/ php-date-bug Public archive

Unit test to prove a bug in PHP's DateTime implementation

Notifications You must be signed in to change notification settings

nicwortel/php-date-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Date bug

This repository contains a small PHPUnit test case that shows a bug I found in PHP's DateTime implementation.

When instantiating DateTime and DateTimeImmutable objects, this bug causes certain dates to be changed. More specifically, this is happening for December 31st, every 400 years, starting December 31st 2369.

For more information see: https://bugs.php.net/bug.php?id=69205

Current status: Build Status

About

Unit test to prove a bug in PHP's DateTime implementation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages