Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/zendframework/zendframework#6093-dead-code-clean…
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Apr 8, 2014
2 parents aecaa35 + 995266f commit 63cc2ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Validator/DateTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public function isValid($value)
}

$position = 0;
$parsedDate = $formatter->parse($value, $position);
$formatter->parse($value, $position);

if (intl_is_failure($formatter->getErrorCode())) {
$this->error(self::INVALID_DATETIME);
Expand Down

0 comments on commit 63cc2ee

Please sign in to comment.