-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
no.ts
71 lines (64 loc) · 1.21 KB
/
no.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/* Norwegian locals for flatpickr */
import { CustomLocale } from "../types/locale";
import { FlatpickrFn } from "../types/instance";
const fp =
typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: ({
l10ns: {},
} as FlatpickrFn);
export const Norwegian: CustomLocale = {
weekdays: {
shorthand: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør"],
longhand: [
"Søndag",
"Mandag",
"Tirsdag",
"Onsdag",
"Torsdag",
"Fredag",
"Lørdag",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Mai",
"Jun",
"Jul",
"Aug",
"Sep",
"Okt",
"Nov",
"Des",
],
longhand: [
"Januar",
"Februar",
"Mars",
"April",
"Mai",
"Juni",
"Juli",
"August",
"September",
"Oktober",
"November",
"Desember",
],
},
firstDayOfWeek: 1,
rangeSeparator: " til ",
weekAbbreviation: "Uke",
scrollTitle: "Scroll for å endre",
toggleTitle: "Klikk for å veksle",
time_24hr: true,
ordinal: () => {
return ".";
},
};
fp.l10ns.no = Norwegian;
export default fp.l10ns;