input datetime-local needs day to also be two digits
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		@ -5,5 +5,6 @@
 | 
			
		||||
 */
 | 
			
		||||
export function toISOUTCString(date) {
 | 
			
		||||
  let month = (date.getMonth() + 1).toString().padStart(2, 0);
 | 
			
		||||
  return `${date.getFullYear()}-${month}-${date.getDate()}T${date.getHours()}:${date.getMinutes()}`;
 | 
			
		||||
  let day = date.getDate().toString().padStart(2, 0);
 | 
			
		||||
  return `${date.getFullYear()}-${month}-${day}T${date.getHours()}:${date.getMinutes()}`;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user