PageSourceSearch

https://marcoballetta.com/wp-content/plugins/add-twitter-feed/js/b…/moment/locale/en-ca.js?ver=7.1.2

js marcoballetta.com collected 2026-10-06 13:14:58 UTC 2,219 bytes, 61 lines download raw bytes

1// moment.js locale configuration
2// locale : canadian english (en-ca)
3// author : Jonathan Abourbih : https://github.com/jonbca
4
5(function (factory) {
6    if (typeof define === 'function' && define.amd) {
7        define(['moment'], factory); // AMD
8    } else if (typeof exports === 'object') {
9        module.exports = factory(require('../moment')); // Node
10    } else {
11        factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
12    }
13}(function (moment) {
14    return moment.defineLocale('en-ca', {
15        months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
16        monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
17        weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
18        weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
19        weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
20        longDateFormat : {
21            LT : 'h:mm A',
22            LTS : 'h:mm:ss A',
23            L : 'YYYY-MM-DD',
24            LL : 'D MMMM, YYYY',
25            LLL : 'D MMMM, YYYY LT',
26            LLLL : 'dddd, D MMMM, YYYY LT'
27        },
28        calendar : {
29            sameDay : '[Today at] LT',
30            nextDay : '[Tomorrow at] LT',
31            nextWeek : 'dddd [at] LT',
32            lastDay : '[Yesterday at] LT',
33            lastWeek : '[Last] dddd [at] LT',
34            sameElse : 'L'
35        },
36        relativeTime : {
37            future : 'in %s',
38            past : '%s ago',
39            s : 'a few seconds',
40            m : 'a minute',
41            mm : '%d minutes',
42            h : 'an hour',
43            hh : '%d hours',
44            d : 'a day',
45            dd : '%d days',
46            M : 'a month',
47            MM : '%d months',
48            y : 'a year',
49            yy : '%d years'
50        },
51        ordinalParse: /\d{1,2}(st|nd|rd|th)/,
52        ordinal : function (number) {
53            var b = number % 10,
54                output = (~~(number % 100 / 10) === 1) ? 'th' :
55                (b === 1) ? 'st' :
56                (b === 2) ? 'nd' :
57                (b === 3) ? 'rd' : 'th';
58            return number + output;
59        }
60    });
61}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.