﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
9462	fix potentially invalid opening hours in presets	aceman	team	"Some default presets contain suggestions for opening hours or service times, like this:
<combo key=""service_times"" text=""Service Times"" delimiter=""|"" values=""18:00|sunset,sunrise|Su 9:30,11:00|Sa,Su,PH 9:00|Sa 18:00; Su 10:45|Fr 08:00-18:00; Apr 10-15 off; Jun 07:00-20:00; Aug off; Dec 24 08:00-24:00|Sa 10:00+|week 1-53/2 Fr 09:00-12:00; week 2-52/2 We 09:00-12:00"" /> 

They include times like ""9:00"", which seem to be invalid per the wiki at http://wiki.openstreetmap.org/wiki/Key:opening_hours :
""hh hour, always two digits number in 24h basis (no am/pm), in the format ""hh:mm"" · (e.g., > Fr 08:30-20:00) ""

The new internal JOSM validator seems to accept such times without warning. However, e.g. the OpeningHoursEditor plugin chokes on them.

So if those values are really invalid, the presets need to be fixed and also the validator to reject such syntax if found in a tag."	defect	closed	normal	14.01	Internal preset	tested	fixed		
