forked from getnikola/nikola
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix getnikola#2678 -- update moment.js
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
- Loading branch information
Showing
311 changed files
with
105,868 additions
and
59,163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,72 +1,73 @@ | ||
//! moment.js locale configuration | ||
//! locale : afrikaans (af) | ||
//! locale : Afrikaans [af] | ||
//! author : Werner Mollentze : https://github.com/wernerm | ||
|
||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
;(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'; | ||
}(this, (function (moment) { 'use strict'; | ||
|
||
|
||
var af = moment.defineLocale('af', { | ||
months : 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'), | ||
monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'), | ||
weekdays : 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'), | ||
weekdaysShort : 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'), | ||
weekdaysMin : 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'), | ||
meridiemParse: /vm|nm/i, | ||
isPM : function (input) { | ||
return /^nm$/i.test(input); | ||
}, | ||
meridiem : function (hours, minutes, isLower) { | ||
if (hours < 12) { | ||
return isLower ? 'vm' : 'VM'; | ||
} else { | ||
return isLower ? 'nm' : 'NM'; | ||
} | ||
}, | ||
longDateFormat : { | ||
LT : 'HH:mm', | ||
LTS : 'HH:mm:ss', | ||
L : 'DD/MM/YYYY', | ||
LL : 'D MMMM YYYY', | ||
LLL : 'D MMMM YYYY HH:mm', | ||
LLLL : 'dddd, D MMMM YYYY HH:mm' | ||
}, | ||
calendar : { | ||
sameDay : '[Vandag om] LT', | ||
nextDay : '[Môre om] LT', | ||
nextWeek : 'dddd [om] LT', | ||
lastDay : '[Gister om] LT', | ||
lastWeek : '[Laas] dddd [om] LT', | ||
sameElse : 'L' | ||
}, | ||
relativeTime : { | ||
future : 'oor %s', | ||
past : '%s gelede', | ||
s : '\'n paar sekondes', | ||
m : '\'n minuut', | ||
mm : '%d minute', | ||
h : '\'n uur', | ||
hh : '%d ure', | ||
d : '\'n dag', | ||
dd : '%d dae', | ||
M : '\'n maand', | ||
MM : '%d maande', | ||
y : '\'n jaar', | ||
yy : '%d jaar' | ||
}, | ||
ordinalParse: /\d{1,2}(ste|de)/, | ||
ordinal : function (number) { | ||
return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); // Thanks to Joris Röling : https://github.com/jjupiter | ||
}, | ||
week : { | ||
dow : 1, // Maandag is die eerste dag van die week. | ||
doy : 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar. | ||
var af = moment.defineLocale('af', { | ||
months : 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'), | ||
monthsShort : 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'), | ||
weekdays : 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'), | ||
weekdaysShort : 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'), | ||
weekdaysMin : 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'), | ||
meridiemParse: /vm|nm/i, | ||
isPM : function (input) { | ||
return /^nm$/i.test(input); | ||
}, | ||
meridiem : function (hours, minutes, isLower) { | ||
if (hours < 12) { | ||
return isLower ? 'vm' : 'VM'; | ||
} else { | ||
return isLower ? 'nm' : 'NM'; | ||
} | ||
}); | ||
}, | ||
longDateFormat : { | ||
LT : 'HH:mm', | ||
LTS : 'HH:mm:ss', | ||
L : 'DD/MM/YYYY', | ||
LL : 'D MMMM YYYY', | ||
LLL : 'D MMMM YYYY HH:mm', | ||
LLLL : 'dddd, D MMMM YYYY HH:mm' | ||
}, | ||
calendar : { | ||
sameDay : '[Vandag om] LT', | ||
nextDay : '[Môre om] LT', | ||
nextWeek : 'dddd [om] LT', | ||
lastDay : '[Gister om] LT', | ||
lastWeek : '[Laas] dddd [om] LT', | ||
sameElse : 'L' | ||
}, | ||
relativeTime : { | ||
future : 'oor %s', | ||
past : '%s gelede', | ||
s : '\'n paar sekondes', | ||
m : '\'n minuut', | ||
mm : '%d minute', | ||
h : '\'n uur', | ||
hh : '%d ure', | ||
d : '\'n dag', | ||
dd : '%d dae', | ||
M : '\'n maand', | ||
MM : '%d maande', | ||
y : '\'n jaar', | ||
yy : '%d jaar' | ||
}, | ||
ordinalParse: /\d{1,2}(ste|de)/, | ||
ordinal : function (number) { | ||
return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); // Thanks to Joris Röling : https://github.com/jjupiter | ||
}, | ||
week : { | ||
dow : 1, // Maandag is die eerste dag van die week. | ||
doy : 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar. | ||
} | ||
}); | ||
|
||
return af; | ||
return af; | ||
|
||
})); | ||
}))); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
//! moment.js locale configuration | ||
//! locale : Arabic (Algeria) [ar-dz] | ||
//! author : Noureddine LOUAHEDJ : https://github.com/noureddineme | ||
|
||
;(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 arDz = moment.defineLocale('ar-dz', { | ||
months : 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), | ||
monthsShort : 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), | ||
weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), | ||
weekdaysShort : 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), | ||
weekdaysMin : 'أح_إث_ثلا_أر_خم_جم_سب'.split('_'), | ||
weekdaysParseExact : true, | ||
longDateFormat : { | ||
LT : 'HH:mm', | ||
LTS : 'HH:mm:ss', | ||
L : 'DD/MM/YYYY', | ||
LL : 'D MMMM YYYY', | ||
LLL : 'D MMMM YYYY HH:mm', | ||
LLLL : 'dddd D MMMM YYYY HH:mm' | ||
}, | ||
calendar : { | ||
sameDay: '[اليوم على الساعة] LT', | ||
nextDay: '[غدا على الساعة] LT', | ||
nextWeek: 'dddd [على الساعة] LT', | ||
lastDay: '[أمس على الساعة] LT', | ||
lastWeek: 'dddd [على الساعة] LT', | ||
sameElse: 'L' | ||
}, | ||
relativeTime : { | ||
future : 'في %s', | ||
past : 'منذ %s', | ||
s : 'ثوان', | ||
m : 'دقيقة', | ||
mm : '%d دقائق', | ||
h : 'ساعة', | ||
hh : '%d ساعات', | ||
d : 'يوم', | ||
dd : '%d أيام', | ||
M : 'شهر', | ||
MM : '%d أشهر', | ||
y : 'سنة', | ||
yy : '%d سنوات' | ||
}, | ||
week : { | ||
dow : 0, // Sunday is the first day of the week. | ||
doy : 4 // The week that contains Jan 1st is the first week of the year. | ||
} | ||
}); | ||
|
||
return arDz; | ||
|
||
}))); |
Oops, something went wrong.