Commit d68e2c16 authored by webchick's avatar webchick

Issue #2371987 by sarav.din33, michaellenahan: Use e.g. instead of i.e. in Date field hover text

parent df881baf
......@@ -241,7 +241,7 @@ public static function processDatetime(&$element, FormStateInterface $form_state
// placeholders are invalid for HTML5 date and datetime, so an example
// format is appended to the title to appear in tooltips.
$extra_attributes = array(
'title' => t('Date (i.e. !format)', array('!format' => static::formatExample($date_format))),
'title' => t('Date (e.g. !format)', array('!format' => static::formatExample($date_format))),
'type' => $element['#date_date_element'],
);
......@@ -286,7 +286,7 @@ public static function processDatetime(&$element, FormStateInterface $form_state
// Adds the HTML5 attributes.
$extra_attributes = array(
'title' => t('Time (i.e. !format)', array('!format' => static::formatExample($time_format))),
'title' => t('Time (e.g. !format)', array('!format' => static::formatExample($time_format))),
'type' => $element['#date_time_element'],
'step' => $element['#date_increment'],
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment