Browse Source

Aligned Time::__debugInfo() with Chronos::__debugInfo()

Corey Taylor 6 years ago
parent
commit
657d224b11
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/I18n/DateFormatTrait.php

+ 2 - 2
src/I18n/DateFormatTrait.php

@@ -453,9 +453,9 @@ trait DateFormatTrait
     public function __debugInfo()
     {
         return [
-            'time' => $this->format('Y-m-d\TH:i:s.uP'),
+            'time' => $this->format('Y-m-d H:i:s.uP'),
             'timezone' => $this->getTimezone()->getName(),
-            'fixedNowTime' => static::hasTestNow() ? static::getTestNow()->format('Y-m-d\TH:i:s.uP') : false
+            'fixedNowTime' => static::hasTestNow() ? static::getTestNow()->format('Y-m-d H:i:s.uP') : false
         ];
     }
 }