I have used Globalize.js to localize and format the date. it all works fine in different culture, but not working properly in German culture (de-DE). Code i have used to format.
Globalize.format(new Date(), "MM/yy/dd","de-DE");
it returns "10.14.01". i expecting the value as "10/14/01".
what might be the problem. is that issue in globalize? please anyone help me to come out of this headbang.
finally i found the cause of the problem. In globalize.culture.de-DE culture file
calendars: { standard: { "/": ".", firstDay: 1, .... .....
}
some standard has been handled like above. could any help me about why this code block has been used?