summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2016-01-15 15:32:39 +0000
committerGreg Roach <fisharebest@gmail.com>2016-01-15 15:33:11 +0000
commit415113c1b3857aeec37c423f313e51af0cd2da24 (patch)
treea065c7f7d2b122554d0ef5c657e744efa95b83c6
parenta9347cb61d960bc0d4b1f0042173adcea477a772 (diff)
downloadwebtrees-415113c1b3857aeec37c423f313e51af0cd2da24.tar.gz
webtrees-415113c1b3857aeec37c423f313e51af0cd2da24.tar.bz2
webtrees-415113c1b3857aeec37c423f313e51af0cd2da24.zip
Fix #797 - validating times
-rw-r--r--app/Functions/FunctionsEdit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Functions/FunctionsEdit.php b/app/Functions/FunctionsEdit.php
index d290960c4b..7e1a1951c7 100644
--- a/app/Functions/FunctionsEdit.php
+++ b/app/Functions/FunctionsEdit.php
@@ -763,7 +763,7 @@ class FunctionsEdit {
echo ' data-autocomplete-type="SURN"';
break;
case 'TIME':
- echo ' pattern="([0-1][0-9]|2[0-3]):[0-5][0-9](:[0-5]0-9])?" dir="ltr" placeholder="' . /* I18N: Examples of valid time formats (hours:minutes:seconds) */
+ echo ' pattern="([0-1][0-9]|2[0-3]):[0-5][0-9](:[0-5][0-9])?" dir="ltr" placeholder="' . /* I18N: Examples of valid time formats (hours:minutes:seconds) */
I18N::translate('hh:mm or hh:mm:ss') . '"';
break;
}