0

Hi,
Trying to replace jquery-modules, because i need only datepicker, not any additional stuff.
Found a light Pikaday datepicker, working just fine as common, but after hours of searching and reading articles, it seems that nobody has not found a good solution to fix date format issue of it, or without any another massive fix, like moment.js. Why this format has left to this annoying condition....
Have anyone found good solution, for get picked date in format YYYY-MM-DD?
I do not want to include 2 jquery-modules, just for one datepicker.....

2
Contributors
2
Replies
21
Views
1 Year
Discussion Span
Last Post by masimies
0

Adding moment.js isn't really a 'massive fix'.
Neither is running jQuery UI. You can choose to download just what you need so you can have a jQuery UI file that is just the core and the datepicker.

0

Yes, i added moment.js for now, and date is now in correct format. There came 4040 more readable rows for this little convert...
With jquery, i had 9842 + 16617 rows taking care of dates :-D
I still continue search something else, because, this is so strange way to handle this kind of functionality. There have to be better solution for picking dates.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.