Categories | Question details Back To List | ||
client locale problem I have problem when clients use difference locale setting, for example client use th ( thai ) which uses short date format 'd/M/Y' but the calendar object is using en-us with 'M/d/Y' format. mycalendar.loadUserLanguage("en-us"); mycalendar.setDateFormat("%m/%d/%Y"); when the form is submitted, the selected date is always converted to client's locale format. for example: If user select 30 September 2008 (09/30/2008) on the calendar, this value will be interpreted againts client's locale which is 'd/M/yyyy' and it causes error because the month value is 30 which is invalid value for month. Please help. Answer posted by Support on Sep 30, 2008 08:06 >>to client's locale format. Issue fixed in latest build. With latest code cell always provide data in format specified by setDateFormat Please try to use attached js file instead of original one. Attachments (1) |