-1

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?

Related

JJD
  • 50,076
  • 60
  • 203
  • 339
  • 46k rep... What have you tried so far to solve this on your own? [How much research effort is expected of Stack Overflow users?](https://meta.stackoverflow.com/questions/261592/how-much-research-effort-is-expected-of-stack-overflow-users), [How do I ask a good question?](https://stackoverflow.com/help/how-to-ask) – Andreas Dec 01 '21 at 18:09
  • Sorry for being unclear here. I search in the "related" websites for a configuration option - without success, though. – JJD Dec 01 '21 at 19:52

1 Answers1

1

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.

scai
  • 20,297
  • 4
  • 56
  • 72