| //! moment.js locale configuration
//! locale : Thai [th]
//! author : Kridsada Thanabulpong : https://github.com/sirn
;(function (global, factory) {
   typeof exports === 'object' && typeof module !== 'undefined'
       && typeof require === 'function' ? factory(require('../moment')) :
   typeof define === 'function' && define.amd ? define(['../moment'], factory) :
   factory(global.moment)
}(this, (function (moment) { 'use strict';
var th = moment.defineLocale('th', {
    months : '??????_??????????_??????_??????_???????_????????_???????_???????_???????_??????_?????????_???????'.split('_'),
    monthsShort : '?.?._?.?._??.?._??.?._?.?._??.?._?.?._?.?._?.?._?.?._?.?._?.?.'.split('_'),
    monthsParseExact: true,
    weekdays : '???????_??????_??????_???_????????_?????_?????'.split('_'),
    weekdaysShort : '???????_??????_??????_???_?????_?????_?????'.split('_'), // yes, three characters difference
    weekdaysMin : '??._?._?._?._??._?._?.'.split('_'),
    weekdaysParseExact : true,
    longDateFormat : {
        LT : 'H:mm',
        LTS : 'H:mm:ss',
        L : 'DD/MM/YYYY',
        LL : 'D MMMM YYYY',
        LLL : 'D MMMM YYYY ???? H:mm',
        LLLL : '???dddd??? D MMMM YYYY ???? H:mm'
    },
    meridiemParse: /??????????|??????????/,
    isPM: function (input) {
        return input === '??????????';
    },
    meridiem : function (hour, minute, isLower) {
        if (hour < 12) {
            return '??????????';
        } else {
            return '??????????';
        }
    },
    calendar : {
        sameDay : '[?????? ????] LT',
        nextDay : '[???????? ????] LT',
        nextWeek : 'dddd[???? ????] LT',
        lastDay : '[??????????? ????] LT',
        lastWeek : '[???]dddd[??????? ????] LT',
        sameElse : 'L'
    },
    relativeTime : {
        future : '??? %s',
        past : '%s???????',
        s : '????????????',
        m : '1 ????',
        mm : '%d ????',
        h : '1 ???????',
        hh : '%d ???????',
        d : '1 ???',
        dd : '%d ???',
        M : '1 ?????',
        MM : '%d ?????',
        y : '1 ??',
        yy : '%d ??'
    }
});
return th;
})));
 |