{"action":"created","issue":{"url":"https://api.github.com/repos/schemaorg/schemaorg/issues/534","labels_url":"https://api.github.com/repos/schemaorg/schemaorg/issues/534/labels{/name}","comments_url":"https://api.github.com/repos/schemaorg/schemaorg/issues/534/comments","events_url":"https://api.github.com/repos/schemaorg/schemaorg/issues/534/events","html_url":"https://github.com/schemaorg/schemaorg/issues/534","id":79689250,"number":534,"title":"OpeningHoursSpecification for a place that is open past midnight","user":{"login":"unor","id":6901294,"avatar_url":"https://avatars.githubusercontent.com/u/6901294?v=3","gravatar_id":"","url":"https://api.github.com/users/unor","html_url":"https://github.com/unor","followers_url":"https://api.github.com/users/unor/followers","following_url":"https://api.github.com/users/unor/following{/other_user}","gists_url":"https://api.github.com/users/unor/gists{/gist_id}","starred_url":"https://api.github.com/users/unor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unor/subscriptions","organizations_url":"https://api.github.com/users/unor/orgs","repos_url":"https://api.github.com/users/unor/repos","events_url":"https://api.github.com/users/unor/events{/privacy}","received_events_url":"https://api.github.com/users/unor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/schemaorg/schemaorg/labels/cluster:%20Date/Time/Event%20and%20opening%20hour%20vocab%20issues","name":"cluster: Date/Time/Event and opening hour vocab issues","color":"fef2c0"},{"url":"https://api.github.com/repos/schemaorg/schemaorg/labels/schema.org%20vocab","name":"schema.org vocab","color":"fbca04"},{"url":"https://api.github.com/repos/schemaorg/schemaorg/labels/status:work%20expected","name":"status:work expected","color":"5319e7"},{"url":"https://api.github.com/repos/schemaorg/schemaorg/labels/type:cleanup%20+%20clarity","name":"type:cleanup + clarity","color":"c7def8"}],"state":"open","locked":false,"assignee":{"login":"mfhepp","id":671238,"avatar_url":"https://avatars.githubusercontent.com/u/671238?v=3","gravatar_id":"","url":"https://api.github.com/users/mfhepp","html_url":"https://github.com/mfhepp","followers_url":"https://api.github.com/users/mfhepp/followers","following_url":"https://api.github.com/users/mfhepp/following{/other_user}","gists_url":"https://api.github.com/users/mfhepp/gists{/gist_id}","starred_url":"https://api.github.com/users/mfhepp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfhepp/subscriptions","organizations_url":"https://api.github.com/users/mfhepp/orgs","repos_url":"https://api.github.com/users/mfhepp/repos","events_url":"https://api.github.com/users/mfhepp/events{/privacy}","received_events_url":"https://api.github.com/users/mfhepp/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-05-23T02:01:03Z","updated_at":"2015-10-01T10:34:47Z","closed_at":null,"body":"On Stack Overflow, [devOp asked](http://stackoverflow.com/q/30400998/1591669) how to specify opening hours for something that is open past midnight, e.g., a place that is open from 22:00 to 03:00.\r\n\r\n[I assumed](http://stackoverflow.com/a/30401896/1591669) that using something like the following snippet should be fine, as the definitions for [`closes`](http://schema.org/closes) says it’s the \"closing hour of the place or service on the given day(s) of the week\" (i.e., *yes*, it is the closing hour on that day, but it closes what was opened on the previous day):\r\n\r\n    <div typeof=\"schema:OpeningHoursSpecification\">\r\n      <link property=\"schema:dayOfWeek\" href=\"http://purl.org/goodrelations/v1#Monday\">\r\n      <meta property=\"schema:closes\" content=\"03:00:00\">\r\n      <meta property=\"schema:opens\" content=\"22:00:00\">\r\n    </div>\r\n\r\nBut then I found a [mailing list post](http://ebusiness-unibw.org/pipermail/goodrelations/2012-September/000475.html) from Martin Hepp (@mfhepp), where he explains for `gr:OpeningHoursSpecification`:\r\n\r\n> opening hours that cross midnight must be broken into two chunks, one opening hour specification for the first day, then closing at 23:59:59, and one for the next day of the week, opening ant 00:00:00\r\n>\r\n> […]\r\n>\r\n> A consuming client should assume that if the shop closes for only 1 second, it is actually open without interruption.\r\n\r\nAs `schema:OpeningHoursSpecification` is derived from this, **I assume this advice still holds?** Or may the above snippet be used, too?\r\n\r\nEither way, I think we should explicitly mention in the description how to handle past midnight opening hours, and add an example for that, too.\r\n"},"comment":{"url":"https://api.github.com/repos/schemaorg/schemaorg/issues/comments/144689956","html_url":"https://github.com/schemaorg/schemaorg/issues/534#issuecomment-144689956","issue_url":"https://api.github.com/repos/schemaorg/schemaorg/issues/534","id":144689956,"user":{"login":"mfhepp","id":671238,"avatar_url":"https://avatars.githubusercontent.com/u/671238?v=3","gravatar_id":"","url":"https://api.github.com/users/mfhepp","html_url":"https://github.com/mfhepp","followers_url":"https://api.github.com/users/mfhepp/followers","following_url":"https://api.github.com/users/mfhepp/following{/other_user}","gists_url":"https://api.github.com/users/mfhepp/gists{/gist_id}","starred_url":"https://api.github.com/users/mfhepp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfhepp/subscriptions","organizations_url":"https://api.github.com/users/mfhepp/orgs","repos_url":"https://api.github.com/users/mfhepp/repos","events_url":"https://api.github.com/users/mfhepp/events{/privacy}","received_events_url":"https://api.github.com/users/mfhepp/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T10:34:47Z","updated_at":"2015-10-01T10:34:47Z","body":"But if we want it or not, the problem of opening hours is a hard one, with many trade-offs between simplicity, support for edge-cases, and clarity."}}