1 // moment.js locale configuration
2 // locale : afrikaans (af)
3 // author : Werner Mollentze : https://github.com/wernerm
6 // Comment out broken wrapper, see T145382
7 /*if (typeof define === 'function' && define.amd) {
8 define(['moment'], factory); // AMD
9 } else if (typeof exports === 'object') {
10 module.exports = factory(require('../moment')); // Node
12 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
16 return moment.defineLocale('af', {
17 months : 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'),
18 monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),
19 weekdays : 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'),
20 weekdaysShort : 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),
21 weekdaysMin : 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),
22 meridiem : function (hours, minutes, isLower) {
24 return isLower ? 'vm' : 'VM';
26 return isLower ? 'nm' : 'NM';
34 LLL : 'D MMMM YYYY LT',
35 LLLL : 'dddd, D MMMM YYYY LT'
38 sameDay : '[Vandag om] LT',
39 nextDay : '[Môre om] LT',
40 nextWeek : 'dddd [om] LT',
41 lastDay : '[Gister om] LT',
42 lastWeek : '[Laas] dddd [om] LT',
48 s : '\'n paar sekondes',
60 ordinalParse: /\d{1,2}(ste|de)/,
61 ordinal : function (number) {
62 return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); // Thanks to Joris Röling : https://github.com/jjupiter
65 dow : 1, // Maandag is die eerste dag van die week.
66 doy : 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar.