Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 235894 Details for
Bug 75981
[templates][preferences] Allow to specify format of date variable in templates
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Document update
Updating-document-for-date-variable.patch (text/plain), 975 bytes, created by
Pramod Goyal
on 2013-09-27 10:35:05 EDT
(
hide
)
Description:
Document update
Filename:
MIME Type:
Creator:
Pramod Goyal
Created:
2013-09-27 10:35:05 EDT
Size:
975 bytes
patch
obsolete
>diff --git a/bundles/org.eclipse.jdt.doc.user/concepts/concept-template-variables.htm b/bundles/org.eclipse.jdt.doc.user/concepts/concept-template-variables.htm >index 6ee51e6..5b244f3 100644 >--- a/bundles/org.eclipse.jdt.doc.user/concepts/concept-template-variables.htm >+++ b/bundles/org.eclipse.jdt.doc.user/concepts/concept-template-variables.htm >@@ -49,8 +49,13 @@ > leaving template edit mode.</td> > </tr> > <tr> >- <td><strong>${date}</strong></td> >- <td>Evaluates to the current date.</td> >+ <td><strong>${date([format][, locale])}</strong></td> >+ <td>Evaluates to the current date in the specified format and locale. format and local are optional parameters. format is as per java.text.SimpleDateFormat >+ <p>Example:<br> >+ <code>${currentDate:date(yyyy-MM-dd)}</code> >+ </p> >+ >+ </td> > </tr> > <tr> > <td><strong>${dollar}</strong></td>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
pramod.goyal
:
review?
Actions:
View
|
Diff
Attachments on
bug 75981
:
98429
|
213533
|
235875
| 235894