Week view not working when browser has language other then en-US
-
The Week view does not work when the browser date format is set to eg german.
The reason is because the client jQuery datepicker sets the date in another format.
The backend expects the date in the format mm/dd/yyyy.A simple client fix like this works for me:
var options = { month: '2-digit', day: '2-digit', year: 'numeric' }; var date = jQuery(this).datepicker('getDate').toLocaleDateString("en-US", options);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Week view not working when browser has language other then en-US’ is closed to new replies.