1 //! moment.js locale configuration
3 //! author : Kridsada Thanabulpong : https://github.com/sirn
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) :
10 }(this, function (moment) { 'use strict';
13 var th = moment.defineLocale('th', {
14 months : 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'),
15 monthsShort : 'มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา'.split('_'),
16 monthsParseExact: true,
17 weekdays : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
18 weekdaysShort : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference
19 weekdaysMin : 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
20 weekdaysParseExact : true,
22 LT : 'H นาฬิกา m นาที',
23 LTS : 'H นาฬิกา m นาที s วินาที',
26 LLL : 'D MMMM YYYY เวลา H นาฬิกา m นาที',
27 LLLL : 'วันddddที่ D MMMM YYYY เวลา H นาฬิกา m นาที'
29 meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
30 isPM: function (input) {
31 return input === 'หลังเที่ยง';
33 meridiem : function (hour, minute, isLower) {
41 sameDay : '[วันนี้ เวลา] LT',
42 nextDay : '[พรุ่งนี้ เวลา] LT',
43 nextWeek : 'dddd[หน้า เวลา] LT',
44 lastDay : '[เมื่อวานนี้ เวลา] LT',
45 lastWeek : '[วัน]dddd[ที่แล้ว เวลา] LT',