1 //! moment.js locale configuration
2 //! locale : French [fr]
3 //! author : John Fischer : https://github.com/jfroffice
5 ;(function (global, factory) {
6 typeof exports === 'object' && typeof module !== 'undefined'
7 && typeof require === 'function' ? factory(require('../moment')) :
8 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10 }(this, (function (moment) { 'use strict';
12 //! moment.js locale configuration
14 var fr = moment.defineLocale('fr', {
15 months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
18 monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
21 monthsParseExact: true,
22 weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
23 weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
24 weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
25 weekdaysParseExact: true,
31 LLL: 'D MMMM YYYY HH:mm',
32 LLLL: 'dddd D MMMM YYYY HH:mm',
35 sameDay: '[Aujourd’hui à] LT',
36 nextDay: '[Demain à] LT',
37 nextWeek: 'dddd [à] LT',
38 lastDay: '[Hier à] LT',
39 lastWeek: 'dddd [dernier à] LT',
45 s: 'quelques secondes',
58 dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
59 ordinal: function (number, period) {
61 // TODO: Return 'e' when day of month > 1. Move this case inside
62 // block for masculine words below.
63 // See https://github.com/moment/moment/issues/3375
65 return number + (number === 1 ? 'er' : '');
67 // Words with masculine grammatical gender: mois, trimestre, jour
73 return number + (number === 1 ? 'er' : 'e');
75 // Words with feminine grammatical gender: semaine
78 return number + (number === 1 ? 're' : 'e');
82 dow: 1, // Monday is the first day of the week.
83 doy: 4, // The week that contains Jan 4th is the first week of the year.