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.

x-pseudo.js 2.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. //! moment.js locale configuration
  2. //! locale : Pseudo [x-pseudo]
  3. //! author : Andrew Hood : https://github.com/andrewhood125
  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 xPseudo = moment.defineLocale('x-pseudo', {
  12. months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split(
  13. '_'
  14. ),
  15. monthsShort: 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split(
  16. '_'
  17. ),
  18. monthsParseExact: true,
  19. weekdays: 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split(
  20. '_'
  21. ),
  22. weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),
  23. weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),
  24. weekdaysParseExact: true,
  25. longDateFormat: {
  26. LT: 'HH:mm',
  27. L: 'DD/MM/YYYY',
  28. LL: 'D MMMM YYYY',
  29. LLL: 'D MMMM YYYY HH:mm',
  30. LLLL: 'dddd, D MMMM YYYY HH:mm',
  31. },
  32. calendar: {
  33. sameDay: '[T~ódá~ý át] LT',
  34. nextDay: '[T~ómó~rró~w át] LT',
  35. nextWeek: 'dddd [át] LT',
  36. lastDay: '[Ý~ést~érdá~ý át] LT',
  37. lastWeek: '[L~ást] dddd [át] LT',
  38. sameElse: 'L',
  39. },
  40. relativeTime: {
  41. future: 'í~ñ %s',
  42. past: '%s á~gó',
  43. s: 'á ~féw ~sécó~ñds',
  44. ss: '%d s~écóñ~ds',
  45. m: 'á ~míñ~úté',
  46. mm: '%d m~íñú~tés',
  47. h: 'á~ñ hó~úr',
  48. hh: '%d h~óúrs',
  49. d: 'á ~dáý',
  50. dd: '%d d~áýs',
  51. M: 'á ~móñ~th',
  52. MM: '%d m~óñt~hs',
  53. y: 'á ~ýéár',
  54. yy: '%d ý~éárs',
  55. },
  56. dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
  57. ordinal: function (number) {
  58. var b = number % 10,
  59. output =
  60. ~~((number % 100) / 10) === 1
  61. ? 'th'
  62. : b === 1
  63. ? 'st'
  64. : b === 2
  65. ? 'nd'
  66. : b === 3
  67. ? 'rd'
  68. : 'th';
  69. return number + output;
  70. },
  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. return xPseudo;
  77. })));