Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View sustainablepace's full-sized avatar

Christoph Baudson sustainablepace

View GitHub Profile
@sustainablepace
sustainablepace / xdate_changing_locale.js
Created November 16, 2011 07:54 — forked from arshaw/xdate_changing_locale.js
XDate: Changing the Locale
// You can add new locales by adding a new object to the `XDate.locales` hash.
// You can change the default locale by changing `XDate.defaultLocale`.
XDate.locales['fr'] = {
monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin','Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
monthNamesShort: ['Janv.','Févr.','Mars','Avril','Mai','Juin','Juil.','Août','Sept.','Oct.','Nov.','Déc.'],
dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
dayNamesShort: ['Dim.','Lun.','Mar.','Mer.','Jeu.','Ven.','Sam.']
};