org.zkoss.zk.moment.timezone.path

From Documentation
Revision as of 09:51, 25 January 2018 by Bobpeng (talk | contribs) (Created page with " {{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.zk.moment.timezone.path {{GlobalLibraryProperty}} Default: empty (default data would be loaded) [Since 8.5.1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


org.zkoss.zk.moment.timezone.path


Property: org.zkoss.zk.moment.timezone.path

Applicable:
Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-cross-icon.png not as <custom-attribute>
Default: empty (default data would be loaded)
[Since 8.5.1]

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

Last Update : 2018/01/25


Version Date Content
8.5.1 January 2018 create


Last Update : 2018/01/25

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.