1 //! moment.js locale configuration
2 //! locale : pseudo (x-pseudo)
3 //! author : Andrew Hood : https://github.com/andrewhood125
5 import moment from '../moment';
7 export default moment.defineLocale('x-pseudo', {
8 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('_'),
9 monthsShort : 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split('_'),
10 monthsParseExact : true,
11 weekdays : 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split('_'),
12 weekdaysShort : 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),
13 weekdaysMin : 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),
14 weekdaysParseExact : true,
19 LLL : 'D MMMM YYYY HH:mm',
20 LLLL : 'dddd, D MMMM YYYY HH:mm'
23 sameDay : '[T~ódá~ý át] LT',
24 nextDay : '[T~ómó~rró~w át] LT',
25 nextWeek : 'dddd [át] LT',
26 lastDay : '[Ý~ést~érdá~ý át] LT',
27 lastWeek : '[L~ást] dddd [át] LT',
33 s : 'á ~féw ~sécó~ñds',
45 ordinalParse: /\d{1,2}(th|st|nd|rd)/,
46 ordinal : function (number) {
48 output = (~~(number % 100 / 10) === 1) ? 'th' :
51 (b === 3) ? 'rd' : 'th';
52 return number + output;
55 dow : 1, // Monday is the first day of the week.
56 doy : 4 // The week that contains Jan 4th is the first week of the year.