Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5971376
de-ch.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
de-ch.js
View Options
//! moment.js locale configuration
//! locale : German (Switzerland) [de-ch]
//! author : sschueller : https://github.com/sschueller
;(
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
function
processRelativeTime
(
number
,
withoutSuffix
,
key
,
isFuture
)
{
var
format
=
{
m
:
[
'eine Minute'
,
'einer Minute'
],
h
:
[
'eine Stunde'
,
'einer Stunde'
],
d
:
[
'ein Tag'
,
'einem Tag'
],
dd
:
[
number
+
' Tage'
,
number
+
' Tagen'
],
w
:
[
'eine Woche'
,
'einer Woche'
],
M
:
[
'ein Monat'
,
'einem Monat'
],
MM
:
[
number
+
' Monate'
,
number
+
' Monaten'
],
y
:
[
'ein Jahr'
,
'einem Jahr'
],
yy
:
[
number
+
' Jahre'
,
number
+
' Jahren'
],
};
return
withoutSuffix
?
format
[
key
][
0
]
:
format
[
key
][
1
];
}
var
deCh
=
moment
.
defineLocale
(
'de-ch'
,
{
months
:
'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'
.
split
(
'_'
),
monthsShort
:
'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'
.
split
(
'_'
),
monthsParseExact
:
true
,
weekdays
:
'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'
.
split
(
'_'
),
weekdaysShort
:
'So_Mo_Di_Mi_Do_Fr_Sa'
.
split
(
'_'
),
weekdaysMin
:
'So_Mo_Di_Mi_Do_Fr_Sa'
.
split
(
'_'
),
weekdaysParseExact
:
true
,
longDateFormat
:
{
LT
:
'HH:mm'
,
LTS
:
'HH:mm:ss'
,
L
:
'DD.MM.YYYY'
,
LL
:
'D. MMMM YYYY'
,
LLL
:
'D. MMMM YYYY HH:mm'
,
LLLL
:
'dddd, D. MMMM YYYY HH:mm'
,
},
calendar
:
{
sameDay
:
'[heute um] LT [Uhr]'
,
sameElse
:
'L'
,
nextDay
:
'[morgen um] LT [Uhr]'
,
nextWeek
:
'dddd [um] LT [Uhr]'
,
lastDay
:
'[gestern um] LT [Uhr]'
,
lastWeek
:
'[letzten] dddd [um] LT [Uhr]'
,
},
relativeTime
:
{
future
:
'in %s'
,
past
:
'vor %s'
,
s
:
'ein paar Sekunden'
,
ss
:
'%d Sekunden'
,
m
:
processRelativeTime
,
mm
:
'%d Minuten'
,
h
:
processRelativeTime
,
hh
:
'%d Stunden'
,
d
:
processRelativeTime
,
dd
:
processRelativeTime
,
w
:
processRelativeTime
,
ww
:
'%d Wochen'
,
M
:
processRelativeTime
,
MM
:
processRelativeTime
,
y
:
processRelativeTime
,
yy
:
processRelativeTime
,
},
dayOfMonthOrdinalParse
:
/\d{1,2}\./
,
ordinal
:
'%d.'
,
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
deCh
;
})));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 15:08 (17 h, 6 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e3/22/09926b5c24d2e147d746ebabdbd6
Default Alt Text
de-ch.js (3 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment