Skip to content

Commit

Permalink
Update formatter.php
Browse files Browse the repository at this point in the history
Missing "t" in "dateime"
  • Loading branch information
tyrant88 authored and gharlan committed Apr 12, 2024
1 parent e6971f0 commit 93198f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redaxo/src/core/lib/util/formatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ private static function getTimestamp($value)
}

if (str_starts_with($value, '0000-00-00')) {
trigger_error(sprintf('%s: "%s" is not a valid dateime string.', __METHOD__, $value), E_USER_WARNING);
trigger_error(sprintf('%s: "%s" is not a valid datetime string.', __METHOD__, $value), E_USER_WARNING);

return null;
}
Expand Down

0 comments on commit 93198f4

Please sign in to comment.