EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: zzdfc on August 25, 2015, 06:01:26 PM



Title: How to set initial value of datebox in multiple language,please?
Post by: zzdfc on August 25, 2015, 06:01:26 PM
How to set initial value of DateTimeBox in multiple language,please?


Title: Re: How to set initial value of datebox in multiple language,please?
Post by: stworthy on August 26, 2015, 06:26:56 PM
Please refer to http://www.jeasyui.com/demo/main/index.php?plugin=DateTimeBox&theme=default&dir=ltr&pitem=Initialize%20Value%20for%20DateTime


Title: Re: How to set initial value of datebox in multiple language,please?
Post by: zzdfc on August 27, 2015, 08:48:14 AM
Hi:

    <input class="easyui-datetimebox" value="10/11/2012 2:3:56" style="width:200px">
DateTimeBox display a error time in multiple language,example "German".


Title: Re: How to set initial value of datebox in multiple language,please?
Post by: stworthy on August 27, 2015, 07:29:46 PM
If you include the 'easyui-lang-de.js' locale file, the initialized value should be '11.10.2012 2:3:56'.
Code:
<input class="easyui-datetimebox" value="11.10.2012 2:3:56" style="width:200px">


Title: Re: How to set initial value of datebox in multiple language,please?
Post by: zzdfc on September 11, 2015, 05:33:25 PM
Can initial value of datebox set UTC time?