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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. //! moment.js locale configuration
  2. //! locale : Maldivian [dv]
  3. //! author : Jawish Hameed : https://github.com/jawish
  4. ;(function (global, factory) {
  5. typeof exports === 'object' && typeof module !== 'undefined'
  6. && typeof require === 'function' ? factory(require('../moment')) :
  7. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  8. factory(global.moment)
  9. }(this, (function (moment) { 'use strict';
  10. //! moment.js locale configuration
  11. var months = [
  12. 'ޖެނުއަރީ',
  13. 'ފެބްރުއަރީ',
  14. 'މާރިޗު',
  15. 'އޭޕްރީލު',
  16. 'މޭ',
  17. 'ޖޫން',
  18. 'ޖުލައި',
  19. 'އޯގަސްޓު',
  20. 'ސެޕްޓެމްބަރު',
  21. 'އޮކްޓޯބަރު',
  22. 'ނޮވެމްބަރު',
  23. 'ޑިސެމްބަރު',
  24. ],
  25. weekdays = [
  26. 'އާދިއްތަ',
  27. 'ހޯމަ',
  28. 'އަންގާރަ',
  29. 'ބުދަ',
  30. 'ބުރާސްފަތި',
  31. 'ހުކުރު',
  32. 'ހޮނިހިރު',
  33. ];
  34. var dv = moment.defineLocale('dv', {
  35. months: months,
  36. monthsShort: months,
  37. weekdays: weekdays,
  38. weekdaysShort: weekdays,
  39. weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),
  40. longDateFormat: {
  41. LT: 'HH:mm',
  42. LTS: 'HH:mm:ss',
  43. L: 'D/M/YYYY',
  44. LL: 'D MMMM YYYY',
  45. LLL: 'D MMMM YYYY HH:mm',
  46. LLLL: 'dddd D MMMM YYYY HH:mm',
  47. },
  48. meridiemParse: /މކ|މފ/,
  49. isPM: function (input) {
  50. return 'މފ' === input;
  51. },
  52. meridiem: function (hour, minute, isLower) {
  53. if (hour < 12) {
  54. return 'މކ';
  55. } else {
  56. return 'މފ';
  57. }
  58. },
  59. calendar: {
  60. sameDay: '[މިއަދު] LT',
  61. nextDay: '[މާދަމާ] LT',
  62. nextWeek: 'dddd LT',
  63. lastDay: '[އިއްޔެ] LT',
  64. lastWeek: '[ފާއިތުވި] dddd LT',
  65. sameElse: 'L',
  66. },
  67. relativeTime: {
  68. future: 'ތެރޭގައި %s',
  69. past: 'ކުރިން %s',
  70. s: 'ސިކުންތުކޮޅެއް',
  71. ss: 'd% ސިކުންތު',
  72. m: 'މިނިޓެއް',
  73. mm: 'މިނިޓު %d',
  74. h: 'ގަޑިއިރެއް',
  75. hh: 'ގަޑިއިރު %d',
  76. d: 'ދުވަހެއް',
  77. dd: 'ދުވަސް %d',
  78. M: 'މަހެއް',
  79. MM: 'މަސް %d',
  80. y: 'އަހަރެއް',
  81. yy: 'އަހަރު %d',
  82. },
  83. preparse: function (string) {
  84. return string.replace(/،/g, ',');
  85. },
  86. postformat: function (string) {
  87. return string.replace(/,/g, '،');
  88. },
  89. week: {
  90. dow: 7, // Sunday is the first day of the week.
  91. doy: 12, // The week that contains Jan 12th is the first week of the year.
  92. },
  93. });
  94. return dv;
  95. })));