Issues

ZF-9349: Bug with day in fabruary

Description

<?php require_once 'lib/Zend/Date.php';

$date = new Zend_Date('1796-02-10'); print $date->get(Zend_Date::DATES);//will outputs 11.02.1796 print '
'; $date = new Zend_Date('1796-03-10'); print $date->get(Zend_Date::DATES);//will outputs 10.03.1796

Comments

For reproduction we need more informations:

  • The used locale
  • The used timezone
  • The complete output from Zend_Date not only the date part

Found and fixed with r21754