UNPKG

2.19 kBJavaScriptView Raw
1(function (global, factory) {
2 typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
3 typeof define === 'function' && define.amd ? define(['exports'], factory) :
4 (global = global || self, factory(global.default = {}));
5}(this, (function (exports) { 'use strict';
6
7 var english = {
8 weekdays: {
9 shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
10 longhand: [
11 "Sunday",
12 "Monday",
13 "Tuesday",
14 "Wednesday",
15 "Thursday",
16 "Friday",
17 "Saturday",
18 ],
19 },
20 months: {
21 shorthand: [
22 "Jan",
23 "Feb",
24 "Mar",
25 "Apr",
26 "May",
27 "Jun",
28 "Jul",
29 "Aug",
30 "Sep",
31 "Oct",
32 "Nov",
33 "Dec",
34 ],
35 longhand: [
36 "January",
37 "February",
38 "March",
39 "April",
40 "May",
41 "June",
42 "July",
43 "August",
44 "September",
45 "October",
46 "November",
47 "December",
48 ],
49 },
50 daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
51 firstDayOfWeek: 0,
52 ordinal: function (nth) {
53 var s = nth % 100;
54 if (s > 3 && s < 21)
55 return "th";
56 switch (s % 10) {
57 case 1:
58 return "st";
59 case 2:
60 return "nd";
61 case 3:
62 return "rd";
63 default:
64 return "th";
65 }
66 },
67 rangeSeparator: " to ",
68 weekAbbreviation: "Wk",
69 scrollTitle: "Scroll to increment",
70 toggleTitle: "Click to toggle",
71 amPM: ["AM", "PM"],
72 yearAriaLabel: "Year",
73 monthAriaLabel: "Month",
74 hourAriaLabel: "Hour",
75 minuteAriaLabel: "Minute",
76 time_24hr: false,
77 };
78
79 exports.default = english;
80 exports.english = english;
81
82 Object.defineProperty(exports, '__esModule', { value: true });
83
84})));