Skip to content

Commit

Permalink
Commit changes I forgot about when merging master -> 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jan 30, 2016
1 parent ba30f67 commit 7d79b1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/I18n/DateFormatTrait.php
Expand Up @@ -272,7 +272,7 @@ public static function parseDateTime($time, $format = null)
$pattern
);
$time = $formatter->parse($time);
if ($time) {
if ($time !== false) {
$result = new static('@' . $time);
return $result->setTimezone(date_default_timezone_get());
}
Expand Down

0 comments on commit 7d79b1b

Please sign in to comment.