1 //! moment.js locale configuration
2 //! locale : English (Canada) [en-ca]
3 //! author : Jonathan Abourbih : https://github.com/jonbca
5 ;(function (global, factory) {
6 typeof exports === 'object' && typeof module !== 'undefined'
7 && typeof require === 'function' ? factory(require('../moment')) :
8 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10 }(this, (function (moment) { 'use strict';
12 //! moment.js locale configuration
14 var enCa = moment.defineLocale('en-ca', {
15 months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
18 monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
19 weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
22 weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
23 weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
29 LLL: 'MMMM D, YYYY h:mm A',
30 LLLL: 'dddd, MMMM D, YYYY h:mm A',
33 sameDay: '[Today at] LT',
34 nextDay: '[Tomorrow at] LT',
35 nextWeek: 'dddd [at] LT',
36 lastDay: '[Yesterday at] LT',
37 lastWeek: '[Last] dddd [at] LT',
56 dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
57 ordinal: function (number) {
60 ~~((number % 100) / 10) === 1
69 return number + output;