Ohm-Management - Projektarbeit B-ME
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.3KB

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