I need to format a date into a Dutch locale (Netherlands, Dutch language) string. I found that dojo supports this, but I can't get it to work. I am a Javascript newbie. Don't underestimate my blissful ignorence.
EDITED
<html>
<title>title</title>
<body>
<SCRIPT TYPE="text/javascript" SRC="http://ajax.googleapis.com/ajax/libs/dojo/1.4/dojo/dojo.xd.js">
</SCRIPT>
<script type="text/javascript">
dojo.require("dojo.date");
dojo.require("dojo.date.locale");
dojo.addOnLoad(function() {
var d = new Date('2009/12/23');
console.log(d, dojo, dojo.date);
var dstr = dojo.date.locale.format(d, {locale:'nl-nl'});
document.write(dstr);
});
</script>
</body>
Firebug slaps me with:
Bundle not found: gregorian in dojo.cldr , locale=nl-nl
(function(){var 1=null;if((1||(typeof ....setTimeout(dojo._loadInit,1000);}})();\n