mirror of
				https://github.com/public-transport/db-vendo-client.git
				synced 2025-10-31 16:16:32 +02:00 
			
		
		
		
	fix build 💚
This commit is contained in:
		
							parent
							
								
									2e113d9520
								
							
						
					
					
						commit
						42f90b790e
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		|  | @ -47,7 +47,7 @@ | ||||||
| 		"vbb-stations-autocomplete": "^2.9.0" | 		"vbb-stations-autocomplete": "^2.9.0" | ||||||
| 	}, | 	}, | ||||||
| 	"scripts": { | 	"scripts": { | ||||||
| 		"test": "node test/index.js | tap-spec", | 		"test": "node test/index.js", | ||||||
| 		"prepublishOnly": "npm test" | 		"prepublishOnly": "npm test | tap-spec" | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -90,7 +90,7 @@ const when = new Date(+floor(new Date(), 'week') + week + 10 * hour) | ||||||
| const isValidWhen = (w) => { | const isValidWhen = (w) => { | ||||||
| 	const ts = +new Date(w) | 	const ts = +new Date(w) | ||||||
| 	if (Number.isNaN(ts)) return false | 	if (Number.isNaN(ts)) return false | ||||||
| 	return isRoughlyEqual(10 * hour, +when, ts) | 	return isRoughlyEqual(12 * hour, +when, ts) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| const assertValidWhen = (t, w) => { | const assertValidWhen = (t, w) => { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue