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 1.9KB

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