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.

gl.js 2.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. //! moment.js locale configuration
  2. //! locale : Galician [gl]
  3. //! author : Juan G. Hurtado : https://github.com/juanghurtado
  4. import moment from '../moment';
  5. export default moment.defineLocale('gl', {
  6. months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split(
  7. '_'
  8. ),
  9. monthsShort: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split(
  10. '_'
  11. ),
  12. monthsParseExact: true,
  13. weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),
  14. weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),
  15. weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'),
  16. weekdaysParseExact: true,
  17. longDateFormat: {
  18. LT: 'H:mm',
  19. LTS: 'H:mm:ss',
  20. L: 'DD/MM/YYYY',
  21. LL: 'D [de] MMMM [de] YYYY',
  22. LLL: 'D [de] MMMM [de] YYYY H:mm',
  23. LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
  24. },
  25. calendar: {
  26. sameDay: function () {
  27. return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';
  28. },
  29. nextDay: function () {
  30. return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';
  31. },
  32. nextWeek: function () {
  33. return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT';
  34. },
  35. lastDay: function () {
  36. return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT';
  37. },
  38. lastWeek: function () {
  39. return (
  40. '[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT'
  41. );
  42. },
  43. sameElse: 'L',
  44. },
  45. relativeTime: {
  46. future: function (str) {
  47. if (str.indexOf('un') === 0) {
  48. return 'n' + str;
  49. }
  50. return 'en ' + str;
  51. },
  52. past: 'hai %s',
  53. s: 'uns segundos',
  54. ss: '%d segundos',
  55. m: 'un minuto',
  56. mm: '%d minutos',
  57. h: 'unha hora',
  58. hh: '%d horas',
  59. d: 'un día',
  60. dd: '%d días',
  61. M: 'un mes',
  62. MM: '%d meses',
  63. y: 'un ano',
  64. yy: '%d anos',
  65. },
  66. dayOfMonthOrdinalParse: /\d{1,2}º/,
  67. ordinal: '%dº',
  68. week: {
  69. dow: 1, // Monday is the first day of the week.
  70. doy: 4, // The week that contains Jan 4th is the first week of the year.
  71. },
  72. });