Strings like Mo 17:00-18:00+ exist quite a lot in the OSM planet database.
This currently fails with a Token error.
it 'Mo 17:00-18:00+' do
expect(OpeningHoursConverter::OpeningHoursBuilder.new.build(OpeningHoursConverter::OpeningHoursParser.new.parse('Mo 17:00-18:00+'))).to eql('Mo 17:00-18:00+')
end
it 'Mo 17:00-18:00+ "comment"' do
expect(OpeningHoursConverter::OpeningHoursBuilder.new.build(OpeningHoursConverter::OpeningHoursParser.new.parse('Mo 17:00-18:00+ "comment"'))).to eql('Mo 17:00-18:00+ "comment"')
end
Strings like
Mo 17:00-18:00+
exist quite a lot in the OSM planet database.This currently fails with a Token error.
The Wiki:
I can fix this, and have coded some options already, but I'd like some imput first. How do you want this handled?
+
."late"
? If so, how to deal with the second spec, where another comment exists?