summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/system/system.admin.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 9839b7554..8dd3fbaba 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -2875,6 +2875,7 @@ function system_configure_date_formats_form($form, &$form_state, $dfid = 0) {
$form['date_format'] = array(
'#type' => 'textfield',
'#title' => t('Format string'),
+ '#maxlength' => 100,
'#description' => t('A user-defined date format. See the <a href="@url">PHP manual</a> for available options.', array('@url' => 'http://php.net/manual/function.date.php')),
'#default_value' => ($dfid ? $format->format : ''),
'#field_suffix' => ' <small id="edit-date-format-suffix">' . $now . '</small>',