Params Time Binding #878
Labels
effort-minutes
Will take up to 60 minutes to implement
priority-must
now, top priority
status-planning
Active planning underway
status-tested
Ready for release
topic-config
topic-template
Milestone
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.Right 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
and01/02/2006 15:04
So either the docs need to change or the default config needs to change.
Let me know if I am incorrect on this. Thanks!
The text was updated successfully, but these errors were encountered: