[Client] Resolve #3662
This commit is contained in:
		
							parent
							
								
									7f77517fc8
								
							
						
					
					
						commit
						6c47bf5b76
					
				
					 1 changed files with 1 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -33,14 +33,7 @@ export default Vue.extend({
 | 
			
		|||
			return typeof this.time == 'string' ? new Date(this.time) : this.time;
 | 
			
		||||
		},
 | 
			
		||||
		absolute(): string {
 | 
			
		||||
			const time = this._time;
 | 
			
		||||
			return (
 | 
			
		||||
				time.getFullYear()    + '年' +
 | 
			
		||||
				(time.getMonth() + 1) + '月' +
 | 
			
		||||
				time.getDate()        + '日' +
 | 
			
		||||
				' ' +
 | 
			
		||||
				time.getHours()       + '時' +
 | 
			
		||||
				time.getMinutes()     + '分');
 | 
			
		||||
			return this._time.toLocaleString();
 | 
			
		||||
		},
 | 
			
		||||
		relative(): string {
 | 
			
		||||
			const time = this._time;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue