Jquery date rule not working in firefox and IE

后端 未结 2 1466
栀梦
栀梦 2021-01-25 12:38

I have rendered the normal text with jquery date rule. The date rule working fine in chrome but not working in the Firefox and IE . please see my code block.

2条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-25 13:12

    The documentation you've linked to says this:

    This method should not be used, since it relies on the new Date constructor, which behaves very differently across browsers and locales. Use dateISO instead or one of the locale specific methods (in localizations/ and additional-methods.js).

    My emphasis.

提交回复
热议问题