{"action":"opened","issue":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4755","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4755/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4755/comments","events_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4755/events","html_url":"https://github.com/rethinkdb/rethinkdb/issues/4755","id":102914272,"number":4755,"title":"TIME error messages with wrong number of args","user":{"login":"danielcompton","id":811954,"avatar_url":"https://avatars.githubusercontent.com/u/811954?v=3","gravatar_id":"","url":"https://api.github.com/users/danielcompton","html_url":"https://github.com/danielcompton","followers_url":"https://api.github.com/users/danielcompton/followers","following_url":"https://api.github.com/users/danielcompton/following{/other_user}","gists_url":"https://api.github.com/users/danielcompton/gists{/gist_id}","starred_url":"https://api.github.com/users/danielcompton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielcompton/subscriptions","organizations_url":"https://api.github.com/users/danielcompton/orgs","repos_url":"https://api.github.com/users/danielcompton/repos","events_url":"https://api.github.com/users/danielcompton/events{/privacy}","received_events_url":"https://api.github.com/users/danielcompton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-24T23:36:34Z","updated_at":"2015-08-24T23:36:34Z","closed_at":null,"body":"If you pass 1 argument to time, you get the error message `Expected between 4 and 7 arguments but found 1`. If you pass 5 arguments then you get the error message `Got 5 arguments to TIME (expected 4 or 7).`\r\n\r\nI propose two improvements to the error message:\r\n1. Make the first error `Expected 4 or 7 arguments but found 1`.\r\n2. Include the query term and arguments in the error message, e.g. `TIME expected 4 or 7 arguments but found 1: <print arg>`."}}