Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isOpen / isClosed #12

Open
nolyboms opened this issue Jun 22, 2022 · 0 comments
Open

isOpen / isClosed #12

nolyboms opened this issue Jun 22, 2022 · 0 comments

Comments

@nolyboms
Copy link

Hi there,

i entered some opening and special opening hours and would like to use a simple "Currently open" or "Currently closed" hint on the frontend.

But neither

{{ location.openingHours.isOpen() ? "We're open!" : "Sorry, we're closed!" }}

nor

{{ location.openingHours.isClosed() ? "Sorry, we're closed!" : "We're open!" }}

works.

Can somebody please help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant