Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5951891
th.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
th.js
View Options
//! 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'
;
//! moment.js locale configuration
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
:
'ไม่กี่วินาที'
,
ss
:
'%d วินาที'
,
m
:
'1 นาที'
,
mm
:
'%d นาที'
,
h
:
'1 ชั่วโมง'
,
hh
:
'%d ชั่วโมง'
,
d
:
'1 วัน'
,
dd
:
'%d วัน'
,
M
:
'1 เดือน'
,
MM
:
'%d เดือน'
,
y
:
'1 ปี'
,
yy
:
'%d ปี'
,
},
});
return
th
;
})));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Oct 3 2026, 01:06 (4 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ea/7f/5dd405ddebcfdc7019e924a53b63
Default Alt Text
th.js (3 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment