diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-02-10 16:26:19 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-02-10 16:26:19 +0100 |
commit | 45aa7403519ee873a9f22da8b48f66b219de2e50 (patch) | |
tree | 01f94fbc42421b9c19bfb4e23ce77a4e18f00f52 /js/vendor/momentjs/locale/fr-ca.js | |
parent | d624fdb329e89691f0a9a2d04df44f81474ce6db (diff) |
update momentjs
Diffstat (limited to 'js/vendor/momentjs/locale/fr-ca.js')
-rw-r--r-- | js/vendor/momentjs/locale/fr-ca.js | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/js/vendor/momentjs/locale/fr-ca.js b/js/vendor/momentjs/locale/fr-ca.js index 6cac1b84e..f15ec8dc0 100644 --- a/js/vendor/momentjs/locale/fr-ca.js +++ b/js/vendor/momentjs/locale/fr-ca.js @@ -1,17 +1,16 @@ -// moment.js locale configuration -// locale : canadian french (fr-ca) -// author : Jonathan Abourbih : https://github.com/jonbca +//! moment.js locale configuration +//! locale : canadian french (fr-ca) +//! author : Jonathan Abourbih : https://github.com/jonbca -(function (factory) { - if (typeof define === 'function' && define.amd) { - define(['moment'], factory); // AMD - } else if (typeof exports === 'object') { - module.exports = factory(require('../moment')); // Node - } else { - factory((typeof global !== 'undefined' ? global : this).moment); // node or other global - } -}(function (moment) { - return moment.defineLocale('fr-ca', { +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var fr_ca = moment.defineLocale('fr-ca', { months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), @@ -19,11 +18,11 @@ weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'), longDateFormat : { LT : 'HH:mm', - LTS : 'LT:ss', + LTS : 'HH:mm:ss', L : 'YYYY-MM-DD', LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY LT', - LLLL : 'dddd D MMMM YYYY LT' + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' }, calendar : { sameDay: '[Aujourd\'hui à] LT', @@ -48,9 +47,12 @@ y : 'un an', yy : '%d ans' }, - ordinalParse: /\d{1,2}(er|)/, + ordinalParse: /\d{1,2}(er|e)/, ordinal : function (number) { - return number + (number === 1 ? 'er' : ''); + return number + (number === 1 ? 'er' : 'e'); } }); -})); + + return fr_ca; + +}));
\ No newline at end of file |