mirror of
				https://github.com/musix-org/musix-oss
				synced 2025-10-31 17:51:36 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| /**
 | |
|  * @preserve date-and-time.js locale configuration
 | |
|  * @preserve Italian (it)
 | |
|  * @preserve It is using moment.js locale configuration as a reference.
 | |
|  */
 | |
| (function (global) {
 | |
|     'use strict';
 | |
| 
 | |
|     var exec = function (date) {
 | |
|         date.locale('it', {
 | |
|             res: {
 | |
|                 MMMM: ['gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', 'settembre', 'ottobre', 'novembre', 'dicembre'],
 | |
|                 MMM: ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'],
 | |
|                 dddd: ['Domenica', 'Lunedì', 'Martedì', 'Mercoledì', 'Giovedì', 'Venerdì', 'Sabato'],
 | |
|                 ddd: ['Dom', 'Lun', 'Mar', 'Mer', 'Gio', 'Ven', 'Sab'],
 | |
|                 dd: ['Do', 'Lu', 'Ma', 'Me', 'Gi', 'Ve', 'Sa'],
 | |
|                 A: ['di mattina', 'di pomerrigio']
 | |
|             }
 | |
|         });
 | |
|     };
 | |
| 
 | |
|     if (typeof module === 'object' && typeof module.exports === 'object') {
 | |
|         (module.paths || []).push('./');
 | |
|         exec(require('date-and-time'));
 | |
|     } else if (typeof define === 'function' && define.amd) {
 | |
|         define(['date-and-time'], exec);
 | |
|     } else {
 | |
|         exec(global.date);
 | |
|     }
 | |
| 
 | |
| }(this));
 | 
