Release date: April 1, 2014 (build 1.1.130)
Built-in locales:
See also:
<div id="dp"></div> <script type="text/javascript"> var dp = new DayPilot.Calendar("dp"); dp.locale = "de-de"; dp.init(); </script>
Demo:
<div id="dp"></div> <script type="text/javascript"> var dp = new DayPilot.Month("dp"); dp.locale = "de-de"; dp.init(); </script>
Demo:
DayPilot.Date.toString() supports "ddd" (short day of week name) and "MMM" (short month name) pattern elements.
Example:
var now = new DayPilot.Date(); alert(now.toString("ddd MMM d, yyyy"));
Output:
Tu Apr 1, 2014
See also: