Issues

ZF-5719: Zend Date bug with years

Description

When you try to:

$data = new Zend_Date('2005-01-01'); // 2005 $string_data = $data->get('YYYY-MM-dd'); die($string_data); //output 2004

Will output:

2004-01-01

What happens?

Comments

Please see the manual.