[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/js/vendor/moment-js/locale/ -> x-pseudo.js (source)

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


Generated: Tue Mar 2 01:01:35 2021 Cross-referenced by PHPXref 0.7.1