Debian Codegraph @

resources/lib/moment/locale/x-pseudo.js

raw symbols SCIP
1 //! moment.js locale configuration
2 //! locale : Pseudo [x-pseudo]
3 //! author : Andrew Hood : https://github.com/andrewhood125
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 xPseudo = moment.defineLocale('x-pseudo', {
15 months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split(
16 '_'
17 ),
18 monthsShort: 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split(
19 '_'
20 ),
21 monthsParseExact: true,
22 weekdays: 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split(
23 '_'
24 ),
25 weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),
26 weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),
27 weekdaysParseExact: true,
28 longDateFormat: {
29 LT: 'HH:mm',
30 L: 'DD/MM/YYYY',
31 LL: 'D MMMM YYYY',
32 LLL: 'D MMMM YYYY HH:mm',
33 LLLL: 'dddd, D MMMM YYYY HH:mm',
34 },
35 calendar: {
36 sameDay: '[T~ódá~ý át] LT',
37 nextDay: '[T~ómó~rró~w át] LT',
38 nextWeek: 'dddd [át] LT',
39 lastDay: '[Ý~ést~érdá~ý át] LT',
40 lastWeek: '[L~ást] dddd [át] LT',
41 sameElse: 'L',
42 },
43 relativeTime: {
44 future: 'í~ñ %s',
45 past: '%s á~gó',
46 s: 'á ~féw ~sécó~ñds',
47 ss: '%d s~écóñ~ds',
48 m: 'á ~míñ~úté',
49 mm: '%d m~íñú~tés',
50 h: 'á~ñ hó~úr',
51 hh: '%d h~óúrs',
52 d: 'á ~dáý',
53 dd: '%d d~áýs',
54 M: 'á ~móñ~th',
55 MM: '%d m~óñt~hs',
56 y: 'á ~ýéár',
57 yy: '%d ý~éárs',
58 },
59 dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
60 ordinal: function (number) {
61 var b = number % 10,
62 output =
63 ~~((number % 100) / 10) === 1
64 ? 'th'
65 : b === 1
66 ? 'st'
67 : b === 2
68 ? 'nd'
69 : b === 3
70 ? 'rd'
71 : 'th';
72 return number + output;
73 },
74 week: {
75 dow: 1, // Monday is the first day of the week.
76 doy: 4, // The week that contains Jan 4th is the first week of the year.
77 },
78 });
79
80 return xPseudo;
81
82 })));