2. RU translation: i sent to you file datepicker-ru.js, you can be saved to folder lib in hillter\js\lib and add link The bottom of the html file. Thanks
Thank you very much for your support, but there is another problem ... I did everything according to the instructions. But now when I choosing a date of arrival "January 2, 2017" - the date of departure begins with "2 February 2017" / if you choose the date of arrival "23 January 2017" - the date of departure begins today... and so on.
Hi Jiwa, you can change the language by include the localisation file, You may find other localisation files here: https://github.com/jquery/jquery-ui/tree/master/ui/i18n
Ex:
Fi the code of datepicker jquery ui in file script.js.
Ex:
dateFormat: date format in datepicker. you may refer to page http://api.jqueryui.com/datepicker/. Thanks
Thank! But here is the code in file script.js, there's a connection between the dates (from - to), and it can be broken in such a way:
I need RU translation and dd/mm/yy format. Thanks!
Hi there.
1. Format Date: You can find function DatePicker replace with the code:
2. RU translation: i sent to you file datepicker-ru.js, you can be saved to folder lib in hillter\js\lib and add link The bottom of the html file. Thanks
<script type="text/javascript" src="js/lib/datepicker-ru.js"></script>
Hi there. Link download
https://github.com/jquery/jquery-ui/blob/master/ui/i18n/datepicker-ru.js
Thank you very much for your support, but there is another problem ... I did everything according to the instructions. But now when I choosing a date of arrival "January 2, 2017" - the date of departure begins with "2 February 2017" / if you choose the date of arrival "23 January 2017" - the date of departure begins today... and so on.
Thank you! I found the solution!
Just removed "var newDate" and replaced on "selectedDate" !
Hillter is my favorite template :)