Difference between revisions of "opening-hours-formats"

From Microformats Wiki
opening-hours-formats
Jump to navigation Jump to search
(google places showing opening hours)
 
(wrapper for HTML code)
Line 1: Line 1:
 
Google places uses this format to *display* the opening hours, and then applies some javascript to hide the lines which are not immediately useful:
 
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.
+
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: http://maps.google.com/maps/place?cid=17374953169507020841
+
See an example here with opening hours: http://maps.google.com/maps/place?cid=17374953169507020841
  
<nowiki>
+
<source lang=html4strict>
 
<table style="" id="oh-ov-table" class="oh-table">
 
<table style="" id="oh-ov-table" class="oh-table">
 
       <tbody>
 
       <tbody>
Line 65: Line 67:
 
       </tbody>
 
       </tbody>
 
     </table>
 
     </table>
</nowiki>
+
</source>

Revision as of 09:58, 7 March 2011

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>