Re: [josm-dev] opening hours provoke validator error for unexpected seasons

2013-12-17 Thread Vincent Privat
Hi,

We're using a library for opening_hours validation:
https://github.com/ypid/opening_hours.js

To be discussed here:
https://github.com/ypid/opening_hours.js/issues/21

Cheers


2013/12/17 Martin Koppenhoefer dieterdre...@gmail.com

 I tried to insert some opening_hours like they were written on the receipt,
 but get an error for spring, while summer and winter apparently pass
 the test. Seems as if the opening_hours seasons are only 2? Couldn't find
 them documented in the wiki anyway.

 In my case there are distinct opening hours for winter, summer and for
 spring/autumn (or is this fall?).

 Also: is this really an error (seems like an unknown tag to me), or maybe a
 warning would be better?

 cheers,
 Martin
 ___
 josm-dev mailing list
 josm-dev@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/josm-dev

___
josm-dev mailing list
josm-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] opening hours provoke validator error for unexpected seasons

2013-12-17 Thread Martin Koppenhoefer
2013/12/17 Vincent Privat vincent.pri...@gmail.com

 Hi,

 We're using a library for opening_hours validation:
 https://github.com/ypid/opening_hours.js

 To be discussed here:
 https://github.com/ypid/opening_hours.js/issues/21



thank you :)

It surely solves my case and I didn't expect you were so fast!

But I am not sure if there shouldn't be some discussion (not on the JOSM
devlist I guess) because of the mappers that previously mapped winter and
summer (as now their definition has changed). Maybe winter and summer
should have different meaning dependent on the existence of another value
(spring/autumn)?

cheers,
Martin
___
josm-dev mailing list
josm-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/josm-dev