Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4077099
vi.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
vi.js
View Options
//! moment.js locale configuration
//! locale : Vietnamese [vi]
//! author : Bang Nguyen : https://github.com/bangnk
//! author : Chien Kira : https://github.com/chienkira
;(
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
vi
=
moment
.
defineLocale
(
'vi'
,
{
months
:
'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'
.
split
(
'_'
),
monthsShort
:
'Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12'
.
split
(
'_'
),
monthsParseExact
:
true
,
weekdays
:
'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'
.
split
(
'_'
),
weekdaysShort
:
'CN_T2_T3_T4_T5_T6_T7'
.
split
(
'_'
),
weekdaysMin
:
'CN_T2_T3_T4_T5_T6_T7'
.
split
(
'_'
),
weekdaysParseExact
:
true
,
meridiemParse
:
/sa|ch/i
,
isPM
:
function
(
input
)
{
return
/^ch$/i
.
test
(
input
);
},
meridiem
:
function
(
hours
,
minutes
,
isLower
)
{
if
(
hours
<
12
)
{
return
isLower
?
'sa'
:
'SA'
;
}
else
{
return
isLower
?
'ch'
:
'CH'
;
}
},
longDateFormat
:
{
LT
:
'HH:mm'
,
LTS
:
'HH:mm:ss'
,
L
:
'DD/MM/YYYY'
,
LL
:
'D MMMM [năm] YYYY'
,
LLL
:
'D MMMM [năm] YYYY HH:mm'
,
LLLL
:
'dddd, D MMMM [năm] YYYY HH:mm'
,
l
:
'DD/M/YYYY'
,
ll
:
'D MMM YYYY'
,
lll
:
'D MMM YYYY HH:mm'
,
llll
:
'ddd, D MMM YYYY HH:mm'
,
},
calendar
:
{
sameDay
:
'[Hôm nay lúc] LT'
,
nextDay
:
'[Ngày mai lúc] LT'
,
nextWeek
:
'dddd [tuần tới lúc] LT'
,
lastDay
:
'[Hôm qua lúc] LT'
,
lastWeek
:
'dddd [tuần trước lúc] LT'
,
sameElse
:
'L'
,
},
relativeTime
:
{
future
:
'%s tới'
,
past
:
'%s trước'
,
s
:
'vài giây'
,
ss
:
'%d giây'
,
m
:
'một phút'
,
mm
:
'%d phút'
,
h
:
'một giờ'
,
hh
:
'%d giờ'
,
d
:
'một ngày'
,
dd
:
'%d ngày'
,
w
:
'một tuần'
,
ww
:
'%d tuần'
,
M
:
'một tháng'
,
MM
:
'%d tháng'
,
y
:
'một năm'
,
yy
:
'%d năm'
,
},
dayOfMonthOrdinalParse
:
/\d{1,2}/
,
ordinal
:
function
(
number
)
{
return
number
;
},
week
:
{
dow
:
1
,
// Monday is the first day of the week.
doy
:
4
,
// The week that contains Jan 4th is the first week of the year.
},
});
return
vi
;
})));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Aug 18 2026, 02:52 (9 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
94/e2/8e1abd44f0cd29bd8d5b1bc5fd15
Default Alt Text
vi.js (2 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment