2019-06-10 15:38:54 +00:00
|
|
|
//! moment.js locale configuration
|
2020-07-23 21:12:30 +00:00
|
|
|
//! locale : Afrikaans [af]
|
|
|
|
//! author : Werner Mollentze : https://github.com/wernerm
|
2019-06-10 15:38:54 +00:00
|
|
|
|
|
|
|
;(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';
|
|
|
|
|
2020-07-23 21:12:30 +00:00
|
|
|
//! moment.js locale configuration
|
2019-06-10 15:38:54 +00:00
|
|
|
|
|
|
|
var af = moment.defineLocale('af', {
|
2020-07-23 21:12:30 +00:00
|
|
|
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('_'),
|
2019-06-10 15:38:54 +00:00
|
|
|
meridiemParse: /vm|nm/i,
|
2020-07-23 21:12:30 +00:00
|
|
|
isPM: function (input) {
|
2019-06-10 15:38:54 +00:00
|
|
|
return /^nm$/i.test(input);
|
|
|
|
},
|
2020-07-23 21:12:30 +00:00
|
|
|
meridiem: function (hours, minutes, isLower) {
|
2019-06-10 15:38:54 +00:00
|
|
|
if (hours < 12) {
|
|
|
|
return isLower ? 'vm' : 'VM';
|
|
|
|
} else {
|
|
|
|
return isLower ? 'nm' : 'NM';
|
|
|
|
}
|
|
|
|
},
|
2020-07-23 21:12:30 +00:00
|
|
|
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',
|
2019-06-10 15:38:54 +00:00
|
|
|
},
|
2020-07-23 21:12:30 +00:00
|
|
|
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',
|
2019-06-10 15:38:54 +00:00
|
|
|
},
|
2020-07-23 21:12:30 +00:00
|
|
|
relativeTime: {
|
|
|
|
future: 'oor %s',
|
|
|
|
past: '%s gelede',
|
|
|
|
s: "'n paar sekondes",
|
|
|
|
ss: '%d 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',
|
2019-06-10 15:38:54 +00:00
|
|
|
},
|
|
|
|
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
|
2020-07-23 21:12:30 +00:00
|
|
|
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.
|
2019-06-10 15:38:54 +00:00
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
return af;
|
|
|
|
|
|
|
|
})));
|