Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

de-at.js 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. ;(function (global, factory) {
  8. typeof exports === 'object' && typeof module !== 'undefined'
  9. && typeof require === 'function' ? factory(require('../moment')) :
  10. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  11. factory(global.moment)
  12. }(this, (function (moment) { 'use strict';
  13. //! moment.js locale configuration
  14. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  15. var format = {
  16. m: ['eine Minute', 'einer Minute'],
  17. h: ['eine Stunde', 'einer Stunde'],
  18. d: ['ein Tag', 'einem Tag'],
  19. dd: [number + ' Tage', number + ' Tagen'],
  20. w: ['eine Woche', 'einer Woche'],
  21. M: ['ein Monat', 'einem Monat'],
  22. MM: [number + ' Monate', number + ' Monaten'],
  23. y: ['ein Jahr', 'einem Jahr'],
  24. yy: [number + ' Jahre', number + ' Jahren'],
  25. };
  26. return withoutSuffix ? format[key][0] : format[key][1];
  27. }
  28. var deAt = moment.defineLocale('de-at', {
  29. months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
  30. '_'
  31. ),
  32. monthsShort: 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(
  33. '_'
  34. ),
  35. monthsParseExact: true,
  36. weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
  37. '_'
  38. ),
  39. weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
  40. weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  41. weekdaysParseExact: true,
  42. longDateFormat: {
  43. LT: 'HH:mm',
  44. LTS: 'HH:mm:ss',
  45. L: 'DD.MM.YYYY',
  46. LL: 'D. MMMM YYYY',
  47. LLL: 'D. MMMM YYYY HH:mm',
  48. LLLL: 'dddd, D. MMMM YYYY HH:mm',
  49. },
  50. calendar: {
  51. sameDay: '[heute um] LT [Uhr]',
  52. sameElse: 'L',
  53. nextDay: '[morgen um] LT [Uhr]',
  54. nextWeek: 'dddd [um] LT [Uhr]',
  55. lastDay: '[gestern um] LT [Uhr]',
  56. lastWeek: '[letzten] dddd [um] LT [Uhr]',
  57. },
  58. relativeTime: {
  59. future: 'in %s',
  60. past: 'vor %s',
  61. s: 'ein paar Sekunden',
  62. ss: '%d Sekunden',
  63. m: processRelativeTime,
  64. mm: '%d Minuten',
  65. h: processRelativeTime,
  66. hh: '%d Stunden',
  67. d: processRelativeTime,
  68. dd: processRelativeTime,
  69. w: processRelativeTime,
  70. ww: '%d Wochen',
  71. M: processRelativeTime,
  72. MM: processRelativeTime,
  73. y: processRelativeTime,
  74. yy: processRelativeTime,
  75. },
  76. dayOfMonthOrdinalParse: /\d{1,2}\./,
  77. ordinal: '%d.',
  78. week: {
  79. dow: 1, // Monday is the first day of the week.
  80. doy: 4, // The week that contains Jan 4th is the first week of the year.
  81. },
  82. });
  83. return deAt;
  84. })));