1// moment.js locale configuration 2// locale : french (fr) 3// author : John Fischer : https://github.com/jfroffice 4 5(function (factory) { 6 if (typeof define === 'function' && define.amd) { 7 define(['moment'], factory); // AMD 8 } else if (typeof exports === 'object') { 9 module.exports = factory(require('../moment')); // Node 10 } else { 11 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global 12 } 13}(function (moment) { 14 return moment.defineLocale('fr', { 15 months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), 16 monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), 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 longDateFormat : { 21 LT : 'HH:mm', 22 LTS : 'LT:ss', 23 L : 'DD/MM/YYYY', 24 LL : 'D MMMM YYYY', 25 LLL : 'D MMMM YYYY LT', 26 LLLL : 'dddd D MMMM YYYY LT' 27 }, 28 calendar : { 29 sameDay: '[Aujourd\'hui à ] LT', 30 nextDay: '[Demain à ] LT', 31 nextWeek: 'dddd [à ] LT', 32 lastDay: '[Hier à ] LT', 33 lastWeek: 'dddd [dernier à ] LT', 34 sameElse: 'L' 35 }, 36 relativeTime : { 37 future : 'dans %s', 38 past : 'il y a %s', 39 s : 'quelques 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 ordinalParse: /\d{1,2}(er|)/, 52 ordinal : function (number) { 53 return number + (number === 1 ? 'er' : ''); 54 }, 55 week : { 56 dow : 1, // Monday is the first day of the week. 57 doy : 4 // The week that contains Jan 4th is the first week of the year. 58 } 59 }); 60}));
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.