forked from MapComplete/MapComplete
		
	Add 24/7 detection to Opening Hours
This commit is contained in:
		
							parent
							
								
									6563298d16
								
							
						
					
					
						commit
						b93f25d79c
					
				
					 5 changed files with 115 additions and 7 deletions
				
			
		|  | @ -278,6 +278,13 @@ new T([ | |||
|             }, | ||||
| 
 | ||||
|         ]); | ||||
|         equal(rules, "Tu 10:00-12:00; Sucons 13:00-17:00;"); | ||||
|         equal(rules, "Tu 10:00-12:00; Su 13:00-17:00;"); | ||||
|     }], | ||||
|     ["OH 24/7",() => { | ||||
|         const rules = OH.Parse("24/7"); | ||||
|         equal(rules.length, 7); | ||||
|         equal(rules[0].startHour, 0); | ||||
|         const asStr = OH.ToString(rules); | ||||
|         equal(asStr, "24/7"); | ||||
|     }] | ||||
| ]); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue