ZF-12507: Issue with Zend_Date() - Not showing correct year on 12/31/2012


I am curious why I am having a problem with Zend_Date on 12/31/2012. Here is an example of what I did: vagrant@ibpPrecise64:~$ sudo date 123118002012.00 Mon Dec 31 18:00:00 UTC 2012

    $broadcastDate = new Zend_Date();
    echo $broadcastDate->get("YYYY-MM-dd") . "<br>";
    echo date("Y-m-d");

The output of this was: 2013-12-31 2012-12-31

I tried the same scenario with 2011 and it seemed to work fine: vagrant@ibpPrecise64:~$ sudo date 123118002011.00 Sat Dec 31 18:00:00 UTC 2011 The output of this was: 2011-12-31 2011-12-31


Also: Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-29-generic x86_64)

@Phil Please look at ZF-11992. Add comments or reopening the issue, if something is missing.