Scenario - owner of a local business
You are the owner of a Restaurant and you want to be showing the opening hours of your local business on the contact page of your website. Furthermore, you might have different opening hours based on the season (e.g. between January-June you have different Opening Hours as from Juli-September, etc). You don't have the time to go on your website and change it? OpeningHours.js is right here for you!
Follow the steps described here and let the library do the work for you!
Write once, use all the time!
OpeningHours.js gives you the possibility to render your opening time in multiple ways
- daysForm - normal(default) | short | min //How the days should be displayed: Monday, Mon, Mo
- lang - en(default) | de | it ... //In which language should be the days displayed. Basically we can extend it to every language provided by MomentJS
- weekPeriods - true | false(default) //True in case you have 2 different periods
Have you found a bug?
Please submit an issue on Github, or contact me via the form