From c50df5be079156d82d3ff7fe57a6a30028ec526e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 14 Dec 2011 17:25:16 +0100 Subject: [PATCH] Adding S to TIME_MODIFIER_REGEX --- file/lib/util/ChatUtil.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/lib/util/ChatUtil.class.php b/file/lib/util/ChatUtil.class.php index b7ac5e5..9f8c5b8 100644 --- a/file/lib/util/ChatUtil.class.php +++ b/file/lib/util/ChatUtil.class.php @@ -17,7 +17,7 @@ class ChatUtil { * * @see \wcf\util\ChatUtil::timeModifier() */ - const TIME_MODIFIER_REGEX = '((?:[0-9]+[h|d|w|m|y|H|D|W|M|Y]?,?)+)'; + const TIME_MODIFIER_REGEX = '((?:[0-9]+[s|h|d|w|m|y|S|H|D|W|M|Y]?,?)+)'; /** * Creates a gradient out of two colors represented by an integer.