85 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			JavaScript
		
	
	
			
		
		
	
	
			85 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			JavaScript
		
	
	
| (function (global, factory) {
 | |
|   typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
 | |
|   typeof define === 'function' && define.amd ? define(['exports'], factory) :
 | |
|   (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.default = {}));
 | |
| }(this, (function (exports) { 'use strict';
 | |
| 
 | |
|   var english = {
 | |
|       weekdays: {
 | |
|           shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
 | |
|           longhand: [
 | |
|               "Sunday",
 | |
|               "Monday",
 | |
|               "Tuesday",
 | |
|               "Wednesday",
 | |
|               "Thursday",
 | |
|               "Friday",
 | |
|               "Saturday",
 | |
|           ],
 | |
|       },
 | |
|       months: {
 | |
|           shorthand: [
 | |
|               "Jan",
 | |
|               "Feb",
 | |
|               "Mar",
 | |
|               "Apr",
 | |
|               "May",
 | |
|               "Jun",
 | |
|               "Jul",
 | |
|               "Aug",
 | |
|               "Sep",
 | |
|               "Oct",
 | |
|               "Nov",
 | |
|               "Dec",
 | |
|           ],
 | |
|           longhand: [
 | |
|               "January",
 | |
|               "February",
 | |
|               "March",
 | |
|               "April",
 | |
|               "May",
 | |
|               "June",
 | |
|               "July",
 | |
|               "August",
 | |
|               "September",
 | |
|               "October",
 | |
|               "November",
 | |
|               "December",
 | |
|           ],
 | |
|       },
 | |
|       daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
 | |
|       firstDayOfWeek: 0,
 | |
|       ordinal: function (nth) {
 | |
|           var s = nth % 100;
 | |
|           if (s > 3 && s < 21)
 | |
|               return "th";
 | |
|           switch (s % 10) {
 | |
|               case 1:
 | |
|                   return "st";
 | |
|               case 2:
 | |
|                   return "nd";
 | |
|               case 3:
 | |
|                   return "rd";
 | |
|               default:
 | |
|                   return "th";
 | |
|           }
 | |
|       },
 | |
|       rangeSeparator: " to ",
 | |
|       weekAbbreviation: "Wk",
 | |
|       scrollTitle: "Scroll to increment",
 | |
|       toggleTitle: "Click to toggle",
 | |
|       amPM: ["AM", "PM"],
 | |
|       yearAriaLabel: "Year",
 | |
|       monthAriaLabel: "Month",
 | |
|       hourAriaLabel: "Hour",
 | |
|       minuteAriaLabel: "Minute",
 | |
|       time_24hr: false,
 | |
|   };
 | |
| 
 | |
|   exports.default = english;
 | |
|   exports.english = english;
 | |
| 
 | |
|   Object.defineProperty(exports, '__esModule', { value: true });
 | |
| 
 | |
| })));
 |