summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-01-31 15:53:46 +0400
committerAndrew Dolgov <[email protected]>2012-01-31 15:53:46 +0400
commit1b92f54375ae0087a807496d60b7a8b8c81def87 (patch)
tree85dc7ddf15235cd11eecfba1da26e06c9f0b9b4e /classes
parent1b9b19af0fe6e98f71993c177cba4a7e9e268e8b (diff)
update DIGEST_PREFERRED_TIME prefs regexp
Diffstat (limited to 'classes')
-rw-r--r--classes/pref_prefs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pref_prefs.php b/classes/pref_prefs.php
index c8843adae..4a8edd725 100644
--- a/classes/pref_prefs.php
+++ b/classes/pref_prefs.php
@@ -472,7 +472,7 @@ class Pref_Prefs extends Protected_Handler {
} else if ($pref_name == 'DIGEST_PREFERRED_TIME') {
print "<input dojoType=\"dijit.form.ValidationTextBox\"
- id=\"$pref_name\" regexp=\"[012]\d:\d\d\" placeHolder=\"12:00\"
+ id=\"$pref_name\" regexp=\"[012]?\d:\d\d\" placeHolder=\"12:00\"
name=\"$pref_name\" value=\"$value\"><div class=\"insensitive\">".
T_sprintf("Current server time: %s", date("H:i")) . "</div>";
} else {