mirror of https://github.com/ColorlibHQ/gentelella
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
2.0 KiB
60 lines
2.0 KiB
9 years ago
|
//! moment.js locale configuration
|
||
|
//! locale : canadian french (fr-ca)
|
||
|
//! author : Jonathan Abourbih : https://github.com/jonbca
|
||
|
|
||
|
;(function (global, factory) {
|
||
|
typeof exports === 'object' && typeof module !== 'undefined'
|
||
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
||
|
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
||
|
factory(global.moment)
|
||
|
}(this, function (moment) { 'use strict';
|
||
|
|
||
|
|
||
|
var fr_ca = moment.defineLocale('fr-ca', {
|
||
|
months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
|
||
|
monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
|
||
|
monthsParseExact : true,
|
||
|
weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
|
||
|
weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
|
||
|
weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'),
|
||
|
weekdaysParseExact : true,
|
||
|
longDateFormat : {
|
||
|
LT : 'HH:mm',
|
||
|
LTS : 'HH:mm:ss',
|
||
|
L : 'YYYY-MM-DD',
|
||
|
LL : 'D MMMM YYYY',
|
||
|
LLL : 'D MMMM YYYY HH:mm',
|
||
|
LLLL : 'dddd D MMMM YYYY HH:mm'
|
||
|
},
|
||
|
calendar : {
|
||
|
sameDay: '[Aujourd\'hui à] LT',
|
||
|
nextDay: '[Demain à] LT',
|
||
|
nextWeek: 'dddd [à] LT',
|
||
|
lastDay: '[Hier à] LT',
|
||
|
lastWeek: 'dddd [dernier à] LT',
|
||
|
sameElse: 'L'
|
||
|
},
|
||
|
relativeTime : {
|
||
|
future : 'dans %s',
|
||
|
past : 'il y a %s',
|
||
|
s : 'quelques secondes',
|
||
|
m : 'une minute',
|
||
|
mm : '%d minutes',
|
||
|
h : 'une heure',
|
||
|
hh : '%d heures',
|
||
|
d : 'un jour',
|
||
|
dd : '%d jours',
|
||
|
M : 'un mois',
|
||
|
MM : '%d mois',
|
||
|
y : 'un an',
|
||
|
yy : '%d ans'
|
||
|
},
|
||
|
ordinalParse: /\d{1,2}(er|e)/,
|
||
|
ordinal : function (number) {
|
||
|
return number + (number === 1 ? 'er' : 'e');
|
||
|
}
|
||
|
});
|
||
|
|
||
|
return fr_ca;
|
||
|
|
||
|
}));
|