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.3KB

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