1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2025-01-09 00:20:08 +00:00

Adding S to TIME_MODIFIER_REGEX

This commit is contained in:
Tim Düsterhus 2011-12-14 17:25:16 +01:00
parent 15a7456aba
commit c50df5be07

View File

@ -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.