[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  //! moment.js locale configuration
   2  //! locale : Korean [ko]
   3  //! author : Kyungwook, Park : https://github.com/kyungw00k
   4  //! author : Jeeeyul Lee <jeeeyul@gmail.com>
   5  
   6  ;(function (global, factory) {
   7     typeof exports === 'object' && typeof module !== 'undefined'
   8         && typeof require === 'function' ? factory(require('../moment')) :
   9     typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  10     factory(global.moment)
  11  }(this, function (moment) { 'use strict';
  12  
  13  
  14      var ko = moment.defineLocale('ko', {
  15          months : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
  16          monthsShort : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
  17          weekdays : '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
  18          weekdaysShort : '일_월_화_수_목_금_토'.split('_'),
  19          weekdaysMin : '일_월_화_수_목_금_토'.split('_'),
  20          longDateFormat : {
  21              LT : 'A h시 m분',
  22              LTS : 'A h시 m분 s초',
  23              L : 'YYYY.MM.DD',
  24              LL : 'YYYY년 MMMM D일',
  25              LLL : 'YYYY년 MMMM D일 A h시 m분',
  26              LLLL : 'YYYY년 MMMM D일 dddd A h시 m분'
  27          },
  28          calendar : {
  29              sameDay : '오늘 LT',
  30              nextDay : '내일 LT',
  31              nextWeek : 'dddd LT',
  32              lastDay : '어제 LT',
  33              lastWeek : '지난주 dddd LT',
  34              sameElse : 'L'
  35          },
  36          relativeTime : {
  37              future : '%s 후',
  38              past : '%s 전',
  39              s : '몇 초',
  40              ss : '%d초',
  41              m : '일분',
  42              mm : '%d분',
  43              h : '한 시간',
  44              hh : '%d시간',
  45              d : '하루',
  46              dd : '%d일',
  47              M : '한 달',
  48              MM : '%d달',
  49              y : '일 년',
  50              yy : '%d년'
  51          },
  52          ordinalParse : /\d{1,2}일/,
  53          ordinal : '%d일',
  54          meridiemParse : /오전|오후/,
  55          isPM : function (token) {
  56              return token === '오후';
  57          },
  58          meridiem : function (hour, minute, isUpper) {
  59              return hour < 12 ? '오전' : '오후';
  60          }
  61      });
  62  
  63      return ko;
  64  
  65  }));


Generated: Thu Aug 24 01:01:27 2023 Cross-referenced by PHPXref 0.7.1