PageSourceSearch

https://www.proxitech.com/wp-content/plugins/wpdatatables/assets/js/moment/locale/fr.js?ver=7.5.2.3

js proxitech.com collected 2026-10-09 22:14:06 UTC 4,155 bytes, 115 lines download raw bytes

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    //! moment.js locale configuration
13
14    var monthsStrictRegex = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
15        monthsShortStrictRegex = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,
16        monthsRegex = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
17        monthsParse = [
18            /^janv/i,
19            /^févr/i,
20            /^mars/i,
21            /^avr/i,
22            /^mai/i,
23            /^juin/i,
24            /^juil/i,
25            /^août/i,
26            /^sept/i,
27            /^oct/i,
28            /^nov/i,
29            /^déc/i,
30        ];
31
32    var fr = moment.defineLocale('fr', {
33        months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
34            '_'
35        ),
36        monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
37            '_'
38        ),
39        monthsRegex: monthsRegex,
40        monthsShortRegex: monthsRegex,
41        monthsStrictRegex: monthsStrictRegex,
42        monthsShortStrictRegex: monthsShortStrictRegex,
43        monthsParse: monthsParse,
44        longMonthsParse: monthsParse,
45        shortMonthsParse: monthsParse,
46        weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
47        weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
48        weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
49        weekdaysParseExact: true,
50        longDateFormat: {
51            LT: 'HH:mm',
52            LTS: 'HH:mm:ss',
53            L: 'DD/MM/YYYY',
54            LL: 'D MMMM YYYY',
55            LLL: 'D MMMM YYYY HH:mm',
56            LLLL: 'dddd D MMMM YYYY HH:mm',
57        },
58        calendar: {
59            sameDay: '[Aujourd’hui à] LT',
60            nextDay: '[Demain à] LT',
61            nextWeek: 'dddd [à] LT',
62            lastDay: '[Hier à] LT',
63            lastWeek: 'dddd [dernier à] LT',
64            sameElse: 'L',
65        },
66        relativeTime: {
67            future: 'dans %s',
68            past: 'il y a %s',
69            s: 'quelques secondes',
70            ss: '%d secondes',
71            m: 'une minute',
72            mm: '%d minutes',
73            h: 'une heure',
74            hh: '%d heures',
75            d: 'un jour',
76            dd: '%d jours',
77            w: 'une semaine',
78            ww: '%d semaines',
79            M: 'un mois',
80            MM: '%d mois',
81            y: 'un an',
82            yy: '%d ans',
83        },
84        dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
85        ordinal: function (number, period) {
86            switch (period) {
87                // TODO: Return 'e' when day of month > 1. Move this case inside
88                // block for masculine words below.
89                // See https://github.com/moment/moment/issues/3375
90                case 'D':
91                    return number + (number === 1 ? 'er' : '');
92
93                // Words with masculine grammatical gender: mois, trimestre, jour
94                default:
95                case 'M':
96                case 'Q':
97                case 'DDD':
98                case 'd':
99                    return number + (number === 1 ? 'er' : 'e');
100
101                // Words with feminine grammatical gender: semaine
102                case 'w':
103                case 'W':
104                    return number + (number === 1 ? 're' : 'e');
105            }
106        },
107        week: {
108            dow: 1, // Monday is the first day of the week.
109            doy: 4, // The week that contains Jan 4th is the first week of the year.
110        },
111    });
112
113    return fr;
114
115})));

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.