formatTime修改
This commit is contained in:
		
							parent
							
								
									3f2eba0154
								
							
						
					
					
						commit
						abf201eb56
					
				| 
						 | 
					@ -301,5 +301,5 @@ export function formatTime(date) {
 | 
				
			||||||
  const hours = String(date.getHours()).padStart(2, '0')
 | 
					  const hours = String(date.getHours()).padStart(2, '0')
 | 
				
			||||||
  const minutes = String(date.getMinutes()).padStart(2, '0')
 | 
					  const minutes = String(date.getMinutes()).padStart(2, '0')
 | 
				
			||||||
  const seconds = String(date.getSeconds()).padStart(2, '0')
 | 
					  const seconds = String(date.getSeconds()).padStart(2, '0')
 | 
				
			||||||
  return `${year}${month}${day}_${hours}${minutes}${seconds}`
 | 
					  return `${year}-${month}-${day}_${hours}-${minutes}-${seconds}`
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue