Skip to content

Commit

Permalink
Bug #14682 Don't fatal out on non-parsable date strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Aug 20, 2017
1 parent 90320a5 commit b447879
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -399,7 +399,9 @@ protected function _checkSendEmpty($tag)
*/
protected function _parseDate($ts)
{
$date = parent::_parseDate($ts);
if (!($date = parent::_parseDate($ts))) {
return false;
}

// Since some clients send the date as YYYY-MM-DD only, the best we can
// do is assume that it is in the same timezone as the user's default
Expand Down

0 comments on commit b447879

Please sign in to comment.