amsul / pickadate.js

The mobile-friendly, responsive, and lightweight jQuery date & time input picker.
http://amsul.ca/pickadate.js
MIT License
7.7k stars 1.01k forks source link

In using .pickadate() to show the calendar the dates reverse from right to left in the calendar #1098

Closed Janny2018 closed 6 years ago

Janny2018 commented 6 years ago

the screen shot is as below screenshot

the code is part of an asp.net MVC project (semi-finished product), and the project will access database,the View file(*.cshtml file) is in the attached files (item.zip)

I found though the screen shows the reversed result, but in the generated HTML code (after screen show up I press F12 and copy whole element to save as a html file, pls refer to the attached file --> generated.html.Code.txt) , the result will be correct.

I don't know what happend, can someone help me to figure out the problem ? Thanks

item.zip

generated html Code.txt

Janny2018 commented 6 years ago

I found something may cause this problem, but I don't know why ? refer to the following , f12 screen shot

why the value of the direction attribute is rtl ? does this mean right to left ? and what in my code causes this ?