I am using opening_hours.js in my project. Given the raw input data comes as:
03.09.2021-05.09.2021 Fr 14:00-22:00, Sa 12:00-22:00, Su 12:00-20:00
I there a way to configure the library/parser for the given input date format dd.mm.yyyy
?
I am using opening_hours.js in my project. Given the raw input data comes as:
03.09.2021-05.09.2021 Fr 14:00-22:00, Sa 12:00-22:00, Su 12:00-20:00
I there a way to configure the library/parser for the given input date format dd.mm.yyyy
?
opening_hours.js is for parsing opening hours from OpenStreetMap's opening_hours
tag. dd.mm.yyyy
is not a valid syntax for this tag according to its specification (for example, a month can only be specified via Jan
, Feb
and so on).
So I doubt that this is the correct library for your task.