/** * @ZF-7154 */ public function testZF7154() { $locale = new Locale('de_AT'); $date = new Date(1577833200, $locale); $date2 = new Date(2006, Date::YEAR); $date->setTimeZone(date_default_timezone_get()); $date->setYear(2000); $date->setMonth('Apr'); $this->assertSame('2000-04-01T04:00:00+05:00', $date->get(Date::W3C)); $date->setYear(2004); $date->setMonth('Februar'); $this->assertSame('2004-02-01T04:00:00+05:00', $date->get(Date::W3C)); }