From Microformats Wiki
operating-hours-formats /
Revision as of 19:21, 14 May 2012 by Tantek (talk | contribs) (→‎hCard extension workhours: add translation)
Jump to navigation Jump to search

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

This article is a stub. You can help the microformats.org wiki by expanding it.

This page documents previous formats for publishing/parsing Operating Hours of venues

hCard extension workhours

Yandex implements a property "workhours" as an extension to hCard 1.0, per http://www.step-up-web.ru/hcard/ (from articles-ru)

workhours — Время работы организации. Свойство не предусмотрено стандартом hCard, оно добавлено Яндексом в качестве расширения. Для указания времени работы мы рекомендуем формат, используемый в Справочнике организаций, например:

  • пн-пт 9:00-18:00
  • пн-пт 9:00-18:00, обед 13:00-14:00, сб-вс 10:00-17:00, обед 13:30-14:00
  • пн-сб 11:00-20:00, вс 12:00-24:00
  • ежедн. 10:00-24:00
  • круглосуточно

Translation via Google translate:

workhours - Time of the organization. The property is not provided by standard hCard, it is added as an extension by Yandex. To specify the working hours, we recommend that the format used in the directory of organizations, such as:

  • Mon-Fri 9:00-18:00
  • Mon-Fri 9:00-18:00, lunch 13:00-14:00, Sat-Sun 10:00-17:00, lunch 13:30-14:00
  • Mon-Sat 11:00-20:00, Sun 12:00-24:00
  • Daily. 10:00-24:00
  • around the clock

Since this is a translation, it is not clear if Yandex would support parsing the translated values (they may or may not). However, the translation is still useful for consideration from a design perspective towards a microformats solution.

see also