Browse Source

Merge pull request #6167 from ramiroaraujo/default-timezone-in-dateformatter-for-i18n-time

default timezone in dateformatter for i18n time
José Lorenzo Rodríguez 11 years ago
parent
commit
a24d951ea2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/I18n/Time.php

+ 1 - 1
src/I18n/Time.php

@@ -706,7 +706,7 @@ class Time extends Carbon implements JsonSerializable
             static::$defaultLocale,
             $dateFormat,
             $timeFormat,
-            null,
+            date_default_timezone_get(),
             null,
             $pattern
         );