LaravelTest
82 строки · 2.9 Кб
1//! moment.js locale configuration
2//! locale : Pseudo [x-pseudo]
3//! author : Andrew Hood : https://github.com/andrewhood125
4
5;(function (global, factory) {6typeof exports === 'object' && typeof module !== 'undefined'7&& typeof require === 'function' ? factory(require('../moment')) :8typeof define === 'function' && define.amd ? define(['../moment'], factory) :9factory(global.moment)10}(this, (function (moment) { 'use strict';11
12//! moment.js locale configuration13
14var xPseudo = moment.defineLocale('x-pseudo', {15months: '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),18monthsShort: 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split(19'_'20),21monthsParseExact: true,22weekdays: 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split(23'_'24),25weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),26weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),27weekdaysParseExact: true,28longDateFormat: {29LT: 'HH:mm',30L: 'DD/MM/YYYY',31LL: 'D MMMM YYYY',32LLL: 'D MMMM YYYY HH:mm',33LLLL: 'dddd, D MMMM YYYY HH:mm',34},35calendar: {36sameDay: '[T~ódá~ý át] LT',37nextDay: '[T~ómó~rró~w át] LT',38nextWeek: 'dddd [át] LT',39lastDay: '[Ý~ést~érdá~ý át] LT',40lastWeek: '[L~ást] dddd [át] LT',41sameElse: 'L',42},43relativeTime: {44future: 'í~ñ %s',45past: '%s á~gó',46s: 'á ~féw ~sécó~ñds',47ss: '%d s~écóñ~ds',48m: 'á ~míñ~úté',49mm: '%d m~íñú~tés',50h: 'á~ñ hó~úr',51hh: '%d h~óúrs',52d: 'á ~dáý',53dd: '%d d~áýs',54M: 'á ~móñ~th',55MM: '%d m~óñt~hs',56y: 'á ~ýéár',57yy: '%d ý~éárs',58},59dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,60ordinal: function (number) {61var b = number % 10,62output =63~~((number % 100) / 10) === 164? 'th'65: b === 166? 'st'67: b === 268? 'nd'69: b === 370? 'rd'71: 'th';72return number + output;73},74week: {75dow: 1, // Monday is the first day of the week.76doy: 4, // The week that contains Jan 4th is the first week of the year.77},78});79
80return xPseudo;81
82})));83