You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: template-reference.md
+6-21Lines changed: 6 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,9 +56,9 @@ Applications may also define their own custom modifiers.
56
56
#### Locale-Specific Formatting
57
57
In addition to `printf()`-style formatting, the `format` modifier also supports the following arguments for locale-specific formatting of numbers and dates:
58
58
59
-
*`currency` - applies currency format
60
-
*`percent` - applies percentage format
61
-
*`shortDate` - applies short date format
59
+
*`currency` - applies a currency format
60
+
*`percent` - applies a percentage format
61
+
*`shortDate` - applies a short date format
62
62
*`mediumDate` - applies a medium date format
63
63
*`longDate` - applies a long date format
64
64
*`fullDate` - applies a full date format
@@ -77,26 +77,11 @@ For example, this marker transforms a date value into a localized medium-length
77
77
{{date:format=mediumDate}}
78
78
```
79
79
80
-
Date values may be represented by one of the following:
81
-
82
-
* an instance of `java.util.Date`
83
-
* a `long` value representing epoch time in milliseconds
84
-
* an instance of `java.util.time.LocalDate`
85
-
* a string of the format `yyy-mm-dd`
86
-
87
-
Time values may be represented by one of the following:
88
-
89
-
* an instance of `java.util.Date`
90
-
* a `long` value representing epoch time in milliseconds
91
-
* an instance of `java.util.time.LocalTime`
92
-
* a string of the format `hh:mm[:ss]`
93
-
94
80
Date/time values may be represented by one of the following:
95
81
96
-
* an instance of `java.util.Date`
97
-
* a `long` value representing epoch time
98
-
* an instance of `java.util.time.LocalDateTime`
99
-
* a string of the format `yyy-mm-ddThh:mm[:ss]`
82
+
* a `long` value representing epoch time in milliseconds
83
+
* an instance of `java.util.Date`
84
+
* an instance of `java.util.time.TemporalAccessor`
100
85
101
86
## Section Markers
102
87
Section markers define a repeating section of content. The marker name must refer to an iterable value in the data dictionary (for example, an instance of `java.util.List`).
0 commit comments