public function testHirbodIssueLocaleDate002() { // @see: https://github.com/fightbulc/moment.php/issues/61 $moment = new Moment('2016-01-03 16:17:07', 'Europe/Berlin'); $this->assertEquals('03. Dezember', $moment->subtractMonths(1)->format('d. F')); }
public function testDayMonthFormat002() { $moment = new Moment('2016-01-03 16:17:07', 'Europe/Berlin'); $this->assertEquals('3 grudnia', $moment->subtractMonths(1)->format('j F')); }