开发者

change date format in datetimepicker plugin?

开发者 https://www.devze.com 2023-01-23 05:20 出处:网络
how to change to australian date format for this example? http://开发者_高级运维trentrichardson.com/examples/timepicker/Try this:

how to change to australian date format for this example? http://开发者_高级运维trentrichardson.com/examples/timepicker/


Try this:

 jQuery(".ClassName").datetimepicker({
        showSecond: true,
        timeFormat: 'hh:mm:ss',
        dateFormat: 'yy-mm-dd'
 });

You can define any date format above.

0

精彩评论

暂无评论...
验证码 换一张
取 消