{"action":"created","issue":{"url":"https://api.github.com/repos/revel/revel/issues/878","repository_url":"https://api.github.com/repos/revel/revel","labels_url":"https://api.github.com/repos/revel/revel/issues/878/labels{/name}","comments_url":"https://api.github.com/repos/revel/revel/issues/878/comments","events_url":"https://api.github.com/repos/revel/revel/issues/878/events","html_url":"https://github.com/revel/revel/issues/878","id":58441237,"number":878,"title":"Params Time Binding","user":{"login":"ready4god2513","id":121682,"avatar_url":"https://avatars.githubusercontent.com/u/121682?v=3","gravatar_id":"","url":"https://api.github.com/users/ready4god2513","html_url":"https://github.com/ready4god2513","followers_url":"https://api.github.com/users/ready4god2513/followers","following_url":"https://api.github.com/users/ready4god2513/following{/other_user}","gists_url":"https://api.github.com/users/ready4god2513/gists{/gist_id}","starred_url":"https://api.github.com/users/ready4god2513/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ready4god2513/subscriptions","organizations_url":"https://api.github.com/users/ready4god2513/orgs","repos_url":"https://api.github.com/users/ready4god2513/repos","events_url":"https://api.github.com/users/ready4god2513/events{/privacy}","received_events_url":"https://api.github.com/users/ready4god2513/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/revel/revel/labels/discuss","name":"discuss","color":"000000"},{"url":"https://api.github.com/repos/revel/revel/labels/effort-minutes","name":"effort-minutes","color":"207de5"},{"url":"https://api.github.com/repos/revel/revel/labels/priority-must","name":"priority-must","color":"5319e7"},{"url":"https://api.github.com/repos/revel/revel/labels/status-accepted","name":"status-accepted","color":"009800"},{"url":"https://api.github.com/repos/revel/revel/labels/topic-config","name":"topic-config","color":"d4c5f9"},{"url":"https://api.github.com/repos/revel/revel/labels/topic-template","name":"topic-template","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/revel/revel/milestones/7","html_url":"https://github.com/revel/revel/milestones/v0.13","labels_url":"https://api.github.com/repos/revel/revel/milestones/7/labels","id":808476,"number":7,"title":"v0.13","description":null,"creator":{"login":"brendensoares","id":905501,"avatar_url":"https://avatars.githubusercontent.com/u/905501?v=3","gravatar_id":"","url":"https://api.github.com/users/brendensoares","html_url":"https://github.com/brendensoares","followers_url":"https://api.github.com/users/brendensoares/followers","following_url":"https://api.github.com/users/brendensoares/following{/other_user}","gists_url":"https://api.github.com/users/brendensoares/gists{/gist_id}","starred_url":"https://api.github.com/users/brendensoares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendensoares/subscriptions","organizations_url":"https://api.github.com/users/brendensoares/orgs","repos_url":"https://api.github.com/users/brendensoares/repos","events_url":"https://api.github.com/users/brendensoares/events{/privacy}","received_events_url":"https://api.github.com/users/brendensoares/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":63,"state":"open","created_at":"2014-09-30T16:02:08Z","updated_at":"2016-05-30T18:36:06Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-02-21T04:12:04Z","updated_at":"2016-05-31T18:48:29Z","closed_at":null,"body":"I may have been doing something wrong, but I believe that there is a mistake in the docs.  The docs state that ```The SQL standard time formats [“2006-01-02”, “2006-01-02 15:04”] are built in.``` but that doesn't appear to be the case.\r\n\r\nRight here is where the bindings are set- https://github.com/revel/revel/blob/master/binder.go#L226 which is perfect.  HOWEVER, the default config to ship with revel actually does have the date format set here- https://github.com/revel/revel/blob/master/skeleton/conf/app.conf.template#L69  So by default revel appears to only bind on ```01/02/2006``` and ```01/02/2006 15:04```\r\n\r\nSo either the docs need to change or the default config needs to change.\r\n\r\nLet me know if I am incorrect on this.  Thanks!"},"comment":{"url":"https://api.github.com/repos/revel/revel/issues/comments/222783450","html_url":"https://github.com/revel/revel/issues/878#issuecomment-222783450","issue_url":"https://api.github.com/repos/revel/revel/issues/878","id":222783450,"user":{"login":"jeevatkm","id":1175977,"avatar_url":"https://avatars.githubusercontent.com/u/1175977?v=3","gravatar_id":"","url":"https://api.github.com/users/jeevatkm","html_url":"https://github.com/jeevatkm","followers_url":"https://api.github.com/users/jeevatkm/followers","following_url":"https://api.github.com/users/jeevatkm/following{/other_user}","gists_url":"https://api.github.com/users/jeevatkm/gists{/gist_id}","starred_url":"https://api.github.com/users/jeevatkm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeevatkm/subscriptions","organizations_url":"https://api.github.com/users/jeevatkm/orgs","repos_url":"https://api.github.com/users/jeevatkm/repos","events_url":"https://api.github.com/users/jeevatkm/events{/privacy}","received_events_url":"https://api.github.com/users/jeevatkm/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T18:48:29Z","updated_at":"2016-05-31T18:48:29Z","body":"As per my understanding, binder code look okay. Just skeleton [app.conf](https://github.com/revel/revel/blob/develop/skeleton/conf/app.conf.template#L69) needs an update from \r\n```ini\r\nformat.date     = 01/02/2006\r\nformat.datetime = 01/02/2006 15:04\r\n```\r\nto\r\n```ini\r\nformat.date     = 2006-01-02\r\nformat.datetime = 2006-01-02 15:04\r\n```\r\n@ptman would you like to do it?"}}
{"actor":{"display_login":"jeevatkm"}}