Date and Time Formatting"
From Documentation
m |
m |
||
Line 1: | Line 1: | ||
{{ZKDevelopersReferencePageHeader}} | {{ZKDevelopersReferencePageHeader}} | ||
− | + | =Overview= | |
+ | By default, the format of date and time, especially the format of [[ZK Component Reference/Input/Datebox|Datebox]] and [[ZK Component Reference/Input/Timebox|Timebox]], is determined by the JVM's default and [[ZK Developer's Reference/Internationalization/Locale|the current locale]]. | ||
+ | |||
+ | In this section, we will discuss how to configure ZK to use the format other than the JVM. For example, you could configure ZK to use the preferred format based on user's preferences. | ||
+ | |||
+ | = The Decision Sequence of Format = | ||
+ | = Application-level Format = | ||
+ | = Per-user Format = | ||
=Version History= | =Version History= | ||
{{LastUpdated}} | {{LastUpdated}} |
Revision as of 06:20, 25 April 2011
Overview
By default, the format of date and time, especially the format of Datebox and Timebox, is determined by the JVM's default and the current locale.
In this section, we will discuss how to configure ZK to use the format other than the JVM. For example, you could configure ZK to use the preferred format based on user's preferences.
The Decision Sequence of Format
Application-level Format
Per-user Format
Version History
Version | Date | Content |
---|---|---|
5.0.7 | April 2011 | The per-session format of datebox/timebox was introduced. Prior to 5.0.7, the format depends only on locale. |