Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Created Issue: Client Side Code Not Correctly Parsing Date Using Localization [27099]

$
0
0
While working on the date extender using different languages/cultures, I ran into several issues that were, in the end, caused by the parsing routines in the JavaScript code. After debugging, I noticed that the creation of new Date objects or parsing string dates was failing due to the localized formats and mask. To correct this, I updated the CalendarBehavior.pre.js to use the Date.parseLocale method to assign the new date value.

I've included the fixes I applied in the attached file. You can search on "AY PRISM fix" to find all the affected lines.

Viewing all articles
Browse latest Browse all 4356

Trending Articles