summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2014-11-24 05:32:36 (GMT)
committerwebchick2014-11-24 05:32:36 (GMT)
commitd68e2c1656a9871913a07457b5f2181e37319e83 (patch)
tree9b833124452bd51675268f28d6a1968b0b588814
parentdf881baf55b19bb33d85f21d4acfa33be707b8b1 (diff)
Issue #2371987 by sarav.din33, michaellenahan: Use e.g. instead of i.e. in Date field hover text
-rw-r--r--core/lib/Drupal/Core/Datetime/Element/Datetime.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/lib/Drupal/Core/Datetime/Element/Datetime.php b/core/lib/Drupal/Core/Datetime/Element/Datetime.php
index df0847e..d298e21 100644
--- a/core/lib/Drupal/Core/Datetime/Element/Datetime.php
+++ b/core/lib/Drupal/Core/Datetime/Element/Datetime.php
@@ -241,7 +241,7 @@ class Datetime extends DateElementBase {
// 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 @@ class Datetime extends DateElementBase {
// 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'],
);