opening-hours-formats: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(entry-title, related, intro, openstreetmap placeholder based in implication in brainstorming)
(OpenStreetMap)
Line 7: Line 7:




== Openstreetmap ==
== OpenStreetMap ==
* ???
See:
* https://wiki.openstreetmap.org/wiki/Opening_hours
* https://wiki.openstreetmap.org/wiki/Key:service_times
* https://wiki.openstreetmap.org/wiki/Conditional_restrictions
* https://wiki.openstreetmap.org/wiki/Key:collection_times
* https://wiki.openstreetmap.org/wiki/Key:smoking_hours


== Google maps display ==
== Google maps display ==

Revision as of 20:19, 29 December 2012

<entry-title>opening hours formats</entry-title>

This is part of an effort per the microformats process to research, gather examples, and brainstorm for a microformat for marking up the opening-hours for a business or organization.


OpenStreetMap

See:

Google maps display

Google places uses this format to *display* the opening hours, and then applies some javascript to hide the lines which are not immediately useful: The translate the day names and the time formats into the users locale.

This is clearly rendered data for end user consumption and not a format one can use to establish a standard.

See an example here with opening hours: http://maps.google.com/maps/place?cid=17374953169507020841

<table style="" id="oh-ov-table" class="oh-table">
      <tbody>
        <tr class="oh-highlight-day">
          <td class="oh-day">
            Montag
          </td>
          <td dir="ltr">
            11:00-16:00
          </td>
        </tr>
        <tr>
          <td class="oh-day">
            Dienstag
          </td>
          <td dir="ltr">
            11:00-22:00
          </td>
        </tr>
        <tr>
          <td class="oh-day">
            Mittwoch
          </td>
          <td dir="ltr">
            11:00-22:00
          </td>
        </tr>
        <tr>
          <td class="oh-day">
            Donnerstag
          </td>
          <td dir="ltr">
            11:00-22:00
          </td>
        </tr>
        <tr>
          <td class="oh-day">
            Freitag
          </td>
          <td dir="ltr">
            11:00-16:00
          </td>
        </tr>
        <tr>
          <td class="oh-day">
            Samstag
          </td>
          <td dir="ltr">
            Geschlossen
          </td>
        </tr>
        <tr>
          <td class="oh-day">
            Sonntag
          </td>
          <td dir="ltr">
            Geschlossen
          </td>
        </tr>
      </tbody>
    </table>

see also