{"action":"closed","issue":{"url":"https://api.github.com/repos/drolbr/Overpass-API/issues/442","repository_url":"https://api.github.com/repos/drolbr/Overpass-API","labels_url":"https://api.github.com/repos/drolbr/Overpass-API/issues/442/labels{/name}","comments_url":"https://api.github.com/repos/drolbr/Overpass-API/issues/442/comments","events_url":"https://api.github.com/repos/drolbr/Overpass-API/issues/442/events","html_url":"https://github.com/drolbr/Overpass-API/issues/442","id":266134603,"number":442,"title":"A time like \"24:60:60\" is accepted by the date() and is_date() evaluators","user":{"login":"zstadler","id":1304610,"avatar_url":"https://avatars1.githubusercontent.com/u/1304610?v=4","gravatar_id":"","url":"https://api.github.com/users/zstadler","html_url":"https://github.com/zstadler","followers_url":"https://api.github.com/users/zstadler/followers","following_url":"https://api.github.com/users/zstadler/following{/other_user}","gists_url":"https://api.github.com/users/zstadler/gists{/gist_id}","starred_url":"https://api.github.com/users/zstadler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zstadler/subscriptions","organizations_url":"https://api.github.com/users/zstadler/orgs","repos_url":"https://api.github.com/users/zstadler/repos","events_url":"https://api.github.com/users/zstadler/events{/privacy}","received_events_url":"https://api.github.com/users/zstadler/received_events","type":"User","site_admin":false},"labels":[{"id":316779,"url":"https://api.github.com/repos/drolbr/Overpass-API/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-10-17T13:56:01Z","updated_at":"2018-04-10T20:02:50Z","closed_at":"2018-04-10T20:02:50Z","author_association":"NONE","body":"It seems that the implementation allows a time of \"24:60:60\" which is equivalent to one hour, one minute and one second on the next day.\r\n\r\nRef:\r\n- [Validity check for date()](https://github.com/drolbr/Overpass-API/blob/350cf560956c669171b949b162f239b55936e1a8/src/overpass_api/statements/unary_operators.cc#L283-L284)\r\n- [Validity check for is_date()](https://github.com/drolbr/Overpass-API/blob/350cf560956c669171b949b162f239b55936e1a8/src/overpass_api/statements/unary_operators.cc#L356-L357)\r\n\r\nI would expect \"23:59:60\" to be the maximal time of day to allow for [leap seconds](https://en.wikipedia.org/wiki/Leap_second) too."}}
{"actor":{"display_login":"drolbr"}}