[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 //! moment.js locale configuration 2 //! locale : German (Austria) [de-at] 3 //! author : lluchs : https://github.com/lluchs 4 //! author: Menelion Elensúle: https://github.com/Oire 5 //! author : Martin Groller : https://github.com/MadMG 6 //! author : Mikolaj Dadela : https://github.com/mik01aj 7 8 ;(function (global, factory) { 9 typeof exports === 'object' && typeof module !== 'undefined' 10 && typeof require === 'function' ? factory(require('../moment')) : 11 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12 factory(global.moment) 13 }(this, function (moment) { 'use strict'; 14 15 16 function processRelativeTime(number, withoutSuffix, key, isFuture) { 17 var format = { 18 'm': ['eine Minute', 'einer Minute'], 19 'h': ['eine Stunde', 'einer Stunde'], 20 'd': ['ein Tag', 'einem Tag'], 21 'dd': [number + ' Tage', number + ' Tagen'], 22 'M': ['ein Monat', 'einem Monat'], 23 'MM': [number + ' Monate', number + ' Monaten'], 24 'y': ['ein Jahr', 'einem Jahr'], 25 'yy': [number + ' Jahre', number + ' Jahren'] 26 }; 27 return withoutSuffix ? format[key][0] : format[key][1]; 28 } 29 30 var de_at = moment.defineLocale('de-at', { 31 months : 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), 32 monthsShort : 'Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), 33 monthsParseExact : true, 34 weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), 35 weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), 36 weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), 37 weekdaysParseExact : true, 38 longDateFormat : { 39 LT: 'HH:mm', 40 LTS: 'HH:mm:ss', 41 L : 'DD.MM.YYYY', 42 LL : 'D. MMMM YYYY', 43 LLL : 'D. MMMM YYYY HH:mm', 44 LLLL : 'dddd, D. MMMM YYYY HH:mm' 45 }, 46 calendar : { 47 sameDay: '[heute um] LT [Uhr]', 48 sameElse: 'L', 49 nextDay: '[morgen um] LT [Uhr]', 50 nextWeek: 'dddd [um] LT [Uhr]', 51 lastDay: '[gestern um] LT [Uhr]', 52 lastWeek: '[letzten] dddd [um] LT [Uhr]' 53 }, 54 relativeTime : { 55 future : 'in %s', 56 past : 'vor %s', 57 s : 'ein paar Sekunden', 58 m : processRelativeTime, 59 mm : '%d Minuten', 60 h : processRelativeTime, 61 hh : '%d Stunden', 62 d : processRelativeTime, 63 dd : processRelativeTime, 64 M : processRelativeTime, 65 MM : processRelativeTime, 66 y : processRelativeTime, 67 yy : processRelativeTime 68 }, 69 ordinalParse: /\d{1,2}\./, 70 ordinal : '%d.', 71 week : { 72 dow : 1, // Monday is the first day of the week. 73 doy : 4 // The week that contains Jan 4th is the first week of the year. 74 } 75 }); 76 77 return de_at; 78 79 }));
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 24 01:01:27 2023 | Cross-referenced by PHPXref 0.7.1 |