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