EasyUI Forum

General Category => Bug Report => Topic started by: officecode on November 12, 2018, 09:55:30 PM



Title: The getHours method in the datetimespinner component is incorrect.
Post by: officecode on November 12, 2018, 09:55:30 PM
Please try the following code:

Code:

$('#test').datetimespinner({
value:'8/18/2018 10:30:12',
});
console.log($('#test').datetimespinner('getHours'))    //The result should be 10 instead of 8


In addition, can the datetimespinner component increase the year, month, and day acquisition methods?



Title: Re: The getHours method in the datetimespinner component is incorrect.
Post by: stworthy on November 13, 2018, 06:02:01 AM
Please try to update to a newer version.