Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2016-01-26 15:44:06 -0500
committerDani Megert2016-01-26 15:44:45 -0500
commite8509b3b2fa5639d0328db6fa6aed9e5ad1e1f28 (patch)
tree65d85fcc24f7e0540674776c15649996f090532a /org.eclipse.text
parent7f4ee89a1703d8fdfadb20427b6ffffc1b559b78 (diff)
downloadeclipse.platform.text-e8509b3b2fa5639d0328db6fa6aed9e5ad1e1f28.tar.gz
eclipse.platform.text-e8509b3b2fa5639d0328db6fa6aed9e5ad1e1f28.tar.xz
eclipse.platform.text-e8509b3b2fa5639d0328db6fa6aed9e5ad1e1f28.zip
Fixed bug 486532: Provide better info for date variable proposalI20160126-2000
Diffstat (limited to 'org.eclipse.text')
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/templates/TextTemplateMessages.properties2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/templates/TextTemplateMessages.properties b/org.eclipse.text/src/org/eclipse/jface/text/templates/TextTemplateMessages.properties
index 6ebc5526b..1818f9fa4 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/templates/TextTemplateMessages.properties
+++ b/org.eclipse.text/src/org/eclipse/jface/text/templates/TextTemplateMessages.properties
@@ -17,7 +17,7 @@ TemplateTranslator.error.incompatible.type=Template variable ''{0}'' has incompa
# global variables
GlobalVariables.variable.description.cursor=The cursor position after editing template variables
GlobalVariables.variable.description.dollar=The dollar symbol
-GlobalVariables.variable.description.date=Current date. Use ${id\:date[(format[, locale])]} to format the date.
+GlobalVariables.variable.description.date=<b>${id\:date[(format[, locale])]}</b><br>Evaluates to the current date in the specified format and locale. 'format' and 'locale' are optional parameters. 'format' is a pattern compatible with <b>java.text.SimpleDateFormat</b>. 'locale' is an RFC 3066 locale ID.<br><br><b>Examples:</b><br><code>${date}</code><br><code>${currentDate:date('yyyy-MM-dd')}</code><br><code>${d:date('EEEE dd MM yyyy', 'fr_CH')}</code>
GlobalVariables.variable.description.year=Current year. Use the 'date' variable if you want to specify the format.
GlobalVariables.variable.description.time=Current time. Use the 'date' variable if you want to specify the format.
GlobalVariables.variable.description.user=User name

Back to the top