Ohm-Management - Projektarbeit B-ME
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.

ga.js 2.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. //! moment.js locale configuration
  2. ;(function (global, factory) {
  3. typeof exports === 'object' && typeof module !== 'undefined'
  4. && typeof require === 'function' ? factory(require('../moment')) :
  5. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  6. factory(global.moment)
  7. }(this, (function (moment) { 'use strict';
  8. var months = [
  9. 'Eanáir', 'Feabhra', 'Márta', 'Aibreán', 'Bealtaine', 'Méitheamh', 'Iúil', 'Lúnasa', 'Meán Fómhair', 'Deaireadh Fómhair', 'Samhain', 'Nollaig'
  10. ];
  11. var monthsShort = ['Eaná', 'Feab', 'Márt', 'Aibr', 'Beal', 'Méit', 'Iúil', 'Lúna', 'Meán', 'Deai', 'Samh', 'Noll'];
  12. var weekdays = ['Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', 'Dé Satharn'];
  13. var weekdaysShort = ['Dom', 'Lua', 'Mái', 'Céa', 'Déa', 'hAo', 'Sat'];
  14. var weekdaysMin = ['Do', 'Lu', 'Má', 'Ce', 'Dé', 'hA', 'Sa'];
  15. var ga = moment.defineLocale('ga', {
  16. months: months,
  17. monthsShort: monthsShort,
  18. monthsParseExact: true,
  19. weekdays: weekdays,
  20. weekdaysShort: weekdaysShort,
  21. weekdaysMin: weekdaysMin,
  22. longDateFormat: {
  23. LT: 'HH:mm',
  24. LTS: 'HH:mm:ss',
  25. L: 'DD/MM/YYYY',
  26. LL: 'D MMMM YYYY',
  27. LLL: 'D MMMM YYYY HH:mm',
  28. LLLL: 'dddd, D MMMM YYYY HH:mm'
  29. },
  30. calendar: {
  31. sameDay: '[Inniu ag] LT',
  32. nextDay: '[Amárach ag] LT',
  33. nextWeek: 'dddd [ag] LT',
  34. lastDay: '[Inné aig] LT',
  35. lastWeek: 'dddd [seo caite] [ag] LT',
  36. sameElse: 'L'
  37. },
  38. relativeTime: {
  39. future: 'i %s',
  40. past: '%s ó shin',
  41. s: 'cúpla soicind',
  42. ss: '%d soicind',
  43. m: 'nóiméad',
  44. mm: '%d nóiméad',
  45. h: 'uair an chloig',
  46. hh: '%d uair an chloig',
  47. d: 'lá',
  48. dd: '%d lá',
  49. M: 'mí',
  50. MM: '%d mí',
  51. y: 'bliain',
  52. yy: '%d bliain'
  53. },
  54. dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
  55. ordinal: function (number) {
  56. var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
  57. return number + output;
  58. },
  59. week: {
  60. dow: 1, // Monday is the first day of the week.
  61. doy: 4 // The week that contains Jan 4th is the first week of the year.
  62. }
  63. });
  64. return ga;
  65. })));