From 3dae576d36c674d16a0c4f0be55eebb94ab262e6 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 3 Mar 2014 21:30:13 +0100 Subject: [PATCH] Fixed typo Closes #1676 --- wcfsetup/install/files/lib/util/DateUtil.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/util/DateUtil.class.php b/wcfsetup/install/files/lib/util/DateUtil.class.php index b9b84e6494..496e58a1be 100644 --- a/wcfsetup/install/files/lib/util/DateUtil.class.php +++ b/wcfsetup/install/files/lib/util/DateUtil.class.php @@ -368,7 +368,7 @@ final class DateUtil { throw new SystemException("date '".$date."' is invalid"); } - // convert back to ISO-8601, if date was bogus (e.g. 2000-02-31) data() returns a different date than $date + // convert back to ISO-8601, if date was bogus (e.g. 2000-02-31) date() returns a different date than $date if (gmdate('Y-m-d', $time) != $date) { throw new SystemException("date '".$date."' is invalid"); } -- 2.20.1