1 //! moment.js locale configuration
2 //! locale : French (Switzerland) [fr-ch]
3 //! author : Gaspard Bucher : https://github.com/gaspard
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 frCh = moment.defineLocale('fr-ch', {
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|e)/,
59 ordinal: function (number, period) {
61 // Words with masculine grammatical gender: mois, trimestre, jour
68 return number + (number === 1 ? 'er' : 'e');
70 // Words with feminine grammatical gender: semaine
73 return number + (number === 1 ? 're' : 'e');
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.