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.

it-ch.js 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. //! moment.js locale configuration
  2. //! locale : Italian (Switzerland) [it-ch]
  3. //! author : xfh : https://github.com/xfh
  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 itCh = moment.defineLocale('it-ch', {
  12. months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
  13. '_'
  14. ),
  15. monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
  16. weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
  17. '_'
  18. ),
  19. weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
  20. weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
  21. longDateFormat: {
  22. LT: 'HH:mm',
  23. LTS: 'HH:mm:ss',
  24. L: 'DD.MM.YYYY',
  25. LL: 'D MMMM YYYY',
  26. LLL: 'D MMMM YYYY HH:mm',
  27. LLLL: 'dddd D MMMM YYYY HH:mm',
  28. },
  29. calendar: {
  30. sameDay: '[Oggi alle] LT',
  31. nextDay: '[Domani alle] LT',
  32. nextWeek: 'dddd [alle] LT',
  33. lastDay: '[Ieri alle] LT',
  34. lastWeek: function () {
  35. switch (this.day()) {
  36. case 0:
  37. return '[la scorsa] dddd [alle] LT';
  38. default:
  39. return '[lo scorso] dddd [alle] LT';
  40. }
  41. },
  42. sameElse: 'L',
  43. },
  44. relativeTime: {
  45. future: function (s) {
  46. return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s;
  47. },
  48. past: '%s fa',
  49. s: 'alcuni secondi',
  50. ss: '%d secondi',
  51. m: 'un minuto',
  52. mm: '%d minuti',
  53. h: "un'ora",
  54. hh: '%d ore',
  55. d: 'un giorno',
  56. dd: '%d giorni',
  57. M: 'un mese',
  58. MM: '%d mesi',
  59. y: 'un anno',
  60. yy: '%d anni',
  61. },
  62. dayOfMonthOrdinalParse: /\d{1,2}º/,
  63. ordinal: '%dº',
  64. week: {
  65. dow: 1, // Monday is the first day of the week.
  66. doy: 4, // The week that contains Jan 4th is the first week of the year.
  67. },
  68. });
  69. return itCh;
  70. })));