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.
		
		
		
		
		
			
		
			
				
					15 lines
				
				288 B
			
		
		
			
		
	
	
					15 lines
				
				288 B
			| 
								 
											3 years ago
										 
									 | 
							
								export default (function (o, c) {
							 | 
						||
| 
								 | 
							
								  var proto = c.prototype;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  proto.toObject = function () {
							 | 
						||
| 
								 | 
							
								    return {
							 | 
						||
| 
								 | 
							
								      years: this.$y,
							 | 
						||
| 
								 | 
							
								      months: this.$M,
							 | 
						||
| 
								 | 
							
								      date: this.$D,
							 | 
						||
| 
								 | 
							
								      hours: this.$H,
							 | 
						||
| 
								 | 
							
								      minutes: this.$m,
							 | 
						||
| 
								 | 
							
								      seconds: this.$s,
							 | 
						||
| 
								 | 
							
								      milliseconds: this.$ms
							 | 
						||
| 
								 | 
							
								    };
							 | 
						||
| 
								 | 
							
								  };
							 | 
						||
| 
								 | 
							
								});
							 |