1 // moment.js locale configuration
2 // locale : afrikaans (af)
3 // author : Werner Mollentze : https://github.com/wernerm
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
11 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
14 return moment.defineLocale('af', {
15 months : 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'),
16 monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),
17 weekdays : 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'),
18 weekdaysShort : 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),
19 weekdaysMin : 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),
20 meridiem : function (hours, minutes, isLower) {
22 return isLower ? 'vm' : 'VM';
24 return isLower ? 'nm' : 'NM';
32 LLL : 'D MMMM YYYY LT',
33 LLLL : 'dddd, D MMMM YYYY LT'
36 sameDay : '[Vandag om] LT',
37 nextDay : '[Môre om] LT',
38 nextWeek : 'dddd [om] LT',
39 lastDay : '[Gister om] LT',
40 lastWeek : '[Laas] dddd [om] LT',
46 s : '\'n paar sekondes',
58 ordinalParse: /\d{1,2}(ste|de)/,
59 ordinal : function (number) {
60 return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); // Thanks to Joris Röling : https://github.com/jjupiter
63 dow : 1, // Maandag is die eerste dag van die week.
64 doy : 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar.