Beispiel #1
0
 public function testResetToStringFormat()
 {
     $d = Date::now();
     Date::setToStringFormat('123');
     Date::resetToStringFormat();
     $this->assertSame($d->toDateTimeString(), '' . $d);
 }