Summary
Tag name: <s:convertDateTime>
Converter class: org.apache.myfaces.custom.convertDateTime.DateTimeConverter
Tag class: org.apache.myfaces.custom.convertDateTime.ConvertDateTimeTag
converter id: org.apache.myfaces.custom.convertDateTime.DateTimeConverter
Simple convert that overrides the spec DateTimeConverter and uses TimeZone.getDefault() as the
base timezone, rather than GMT.
Convert date time using normal system timezone like it should
Attributes
Name | Type | Supports EL? | Description |
---|---|---|---|
dateStyle | String | Yes | longDesc = "default|short|medium|long|full" |
locale | java.util.Locale | Yes | longDesc = "locale" |
pattern | String | Yes | Custom formatting pattern |
timeStyle | String | Yes | default|short|medium|long|full |
timeZone | java.util.TimeZone | Yes | timeZome |
type | String | Yes | date|time|both |