1//! moment.js locale configuration 2//! locale : French (Switzerland) [fr-ch] 3//! author : Gaspard Bucher : https://github.com/gaspard 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 13var frCh = moment.defineLocale('fr-ch', { 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 m : 'une minute', 42 mm : '%d minutes', 43 h : 'une heure', 44 hh : '%d heures', 45 d : 'un jour', 46 dd : '%d jours', 47 M : 'un mois', 48 MM : '%d mois', 49 y : 'un an', 50 yy : '%d ans' 51 }, 52 dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, 53 ordinal : function (number, period) { 54 switch (period) { 55 // Words with masculine grammatical gender: mois, trimestre, jour 56 default: 57 case 'M': 58 case 'Q': 59 case 'D': 60 case 'DDD': 61 case 'd': 62 return number + (number === 1 ? 'er' : 'e'); 63 64 // Words with feminine grammatical gender: semaine 65 case 'w': 66 case 'W': 67 return number + (number === 1 ? 're' : 'e'); 68 } 69 }, 70 week : { 71 dow : 1, // Monday is the first day of the week. 72 doy : 4 // The week that contains Jan 4th is the first week of the year. 73 } 74}); 75 76return frCh; 77 78})));
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.