1//! moment.js locale configuration 2 3;(function (global, factory) { 4 typeof exports === 'object' && typeof module !== 'undefined' 5 && typeof require === 'function' ? factory(require('../moment')) : 6 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 7 factory(global.moment) 8}(this, (function (moment) { 'use strict'; 9 10 11 var fr = moment.defineLocale('fr', { 12 months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), 13 monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), 14 monthsParseExact : true, 15 weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), 16 weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), 17 weekdaysMin : 'di_lu_ma_me_je_ve_sa'.split('_'), 18 weekdaysParseExact : true, 19 longDateFormat : { 20 LT : 'HH:mm', 21 LTS : 'HH:mm:ss', 22 L : 'DD/MM/YYYY', 23 LL : 'D MMMM YYYY', 24 LLL : 'D MMMM YYYY HH:mm', 25 LLLL : 'dddd D MMMM YYYY HH:mm' 26 }, 27 calendar : { 28 sameDay : '[Aujourdâhui à ] LT', 29 nextDay : '[Demain à ] LT', 30 nextWeek : 'dddd [à ] LT', 31 lastDay : '[Hier à ] LT', 32 lastWeek : 'dddd [dernier à ] LT', 33 sameElse : 'L' 34 }, 35 relativeTime : { 36 future : 'dans %s', 37 past : 'il y a %s', 38 s : 'quelques secondes', 39 ss : '%d secondes', 40 m : 'une minute', 41 mm : '%d minutes', 42 h : 'une heure', 43 hh : '%d heures', 44 d : 'un jour', 45 dd : '%d jours', 46 M : 'un mois', 47 MM : '%d mois', 48 y : 'un an', 49 yy : '%d ans' 50 }, 51 dayOfMonthOrdinalParse: /\d{1,2}(er|)/, 52 ordinal : function (number, period) { 53 switch (period) { 54 // TODO: Return 'e' when day of month > 1. Move this case inside 55 // block for masculine words below. 56 // See https://github.com/moment/moment/issues/3375 57 case 'D': 58 return number + (number === 1 ? 'er' : ''); 59 60 // Words with masculine grammatical gender: mois, trimestre, jour 61 default: 62 case 'M': 63 case 'Q': 64 case 'DDD': 65 case 'd': 66 return number + (number === 1 ? 'er' : 'e'); 67 68 // Words with feminine grammatical gender: semaine 69 case 'w': 70 case 'W': 71 return number + (number === 1 ? 're' : 'e'); 72 } 73 }, 74 week : { 75 dow : 1, // Monday is the first day of the week. 76 doy : 4 // The week that contains Jan 4th is the first week of the year. 77 } 78 }); 79 80 return fr; 81 82}))); 83; 84;moment.locale("fr");
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.