org.zkoss.zk.moment.timezone.path"
From Documentation
(Created page with " {{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.zk.moment.timezone.path {{GlobalLibraryProperty}} Default: empty (default data would be loaded) [Since 8.5.1...") |
|||
Line 2: | Line 2: | ||
'''Property:''' | '''Property:''' | ||
org.zkoss.zk.moment.timezone.path | org.zkoss.zk.moment.timezone.path | ||
+ | |||
+ | {{versionSince | 8.5.1}} | ||
{{GlobalLibraryProperty}} | {{GlobalLibraryProperty}} | ||
Default: empty (default data would be loaded) | Default: empty (default data would be loaded) | ||
− | + | ||
Start from 8.5.1, we start to use moment.js, moment-timezone.js to support our client widgets of <javadoc>org.zkoss.zul.Datebox</javadoc>,<javadoc>org.zkoss.zul.Timebox</javadoc>,<javadoc>org.zkoss.zkmax.zul.Timepicker</javadoc>. | Start from 8.5.1, we start to use moment.js, moment-timezone.js to support our client widgets of <javadoc>org.zkoss.zul.Datebox</javadoc>,<javadoc>org.zkoss.zul.Timebox</javadoc>,<javadoc>org.zkoss.zkmax.zul.Timepicker</javadoc>. |
Revision as of 07:21, 5 March 2021
Property:
org.zkoss.zk.moment.timezone.path
Since 8.5.1
Applicable: globally in zk.xml via <library-property> not as <custom-attribute>
Default: empty (default data would be loaded)
Start from 8.5.1, we start to use moment.js, moment-timezone.js to support our client widgets of Datebox,Timebox,Timepicker.
Since timezone information changes every year for some countries, we provide a way to update the timezone information.
1. Download the json file from https://github.com/moment/moment-timezone/tree/develop/data/packed.
2. In zk.xml, specify file.
<library-property>
<name>org.zkoss.zk.moment.timezone.path</name>
<value>/data/2017a.json</value>
</library-property>
Version History
Version | Date | Content |
---|---|---|
8.5.1 | January 2018 | create |