PageSourceSearch

https://folk.ee/javascripts/momentlocale.js

js folk.ee collected 2026-09-24 19:02:42 UTC 1,722 bytes, 45 lines download raw bytes

1moment.locale('et', {
2    months : 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'),
3    monthsShort : 'jan._feb._märts_apr._mai_juuni_juuli._aug_sept._okt._nov._dets.'.split('_'),
4    monthsParseExact : true,
5    weekdays : 'esmaspäev_teisipäaev_kolmapäev_neljapäev_reede_laupäev_pühapäev'.split('_'),
6    weekdaysShort : 'esmasp._teisip._kolmap._neljap._reede._laup._pühaü.'.split('_'),
7    weekdaysMin : 'E_T_K_N_R_L_P'.split('_'),
8    weekdaysParseExact : true,
9    longDateFormat : {
10        LT : 'HH:mm',
11        LTS : 'HH:mm:ss',
12        L : 'DD/MM/YYYY',
13        LL : 'D MMMM YYYY',
14        LLL : 'D MMMM YYYY HH:mm',
15        LLLL : 'dddd D MMMM YYYY HH:mm'
16    },
17    calendar : {
18        sameDay : '[Täna kl] LT',
19        nextDay : '[Homme kl] LT',
20        nextWeek : 'dddd [kl] LT',
21        lastDay : '[Eile kl] LT',
22        lastWeek : 'dddd [viimati] LT',
23        sameElse : 'L'
24    },
25    dayOfMonthOrdinalParse : /\d{1,2}(er|e)/,
26    ordinal : function (number) {
27        return number + (number === 1 ? 'er' : 'e');
28    },
29    meridiemParse : /PD|MD/,
30    isPM : function (input) {
31        return input.charAt(0) === 'M';
32    },
33    // In case the meridiem units are not separated around 12, then implement
34    // this function (look at locale/id.js for an example).
35    // meridiemHour : function (hour, meridiem) {
36    //     return /* 0-23 hour, given meridiem token and hour 1-12 */ ;
37    // },
38    meridiem : function (hours, minutes, isLower) {
39        return hours < 12 ? 'PD' : 'MD';
40    },
41    week : {
42        dow : 1, // Monday is the first day of the week.
43        doy : 4  // Used to determine first week of the year.
44    }
45});

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.