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

Consolidate regular opening hours in listing when they are the same consecutively #10

Open
hughbris opened this issue Jun 14, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@hughbris
Copy link
Owner

When we have, say, regular hour schedules in consecutive days that are the same, e.g.

regular:
  tuesday:
    - opens: "10:00"
      shuts: "13:00"
  wednesday:
    - opens: "10:00"
      shuts: "13:00"
  thursday:
    - opens: "10:00"
      shuts: "13:00"

Rather than outputting:

Tuesdays: 10am-1pm
Wednesdays: 10am-1pm
Thursdays: 10am-1pm

.. (somehow) be smart and output:
Tuesdays-Thursdays: 10am-1pm

Although in terms of inline machine readability and microdata, this may be a fail.

@hughbris hughbris added the enhancement New feature or request label Jun 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant