-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic Time pars #1062
Comments
@almgwary Could you please post your example code?
|
I also encountered a similar problem, please check out my example code. In the example code, I need to manually add But adding these field tag makes my struct definition cumbersome:
NOTE: "2006-01-02T15:04:05Z07:00" is just the time.RFC3339 Any workarounds to solve this problem? |
Hi all, please see #1487 thanks! |
In fact, I am confused by the same problem. How did you solved this problems? |
i am sending time in
time.RFC3339
format it has the following problem with automatic binding.my modle
binding
error
"parsing time ""2017-08-16P15:00:00+00:00"" as ""2006-01-02T15:04:05Z07:00"": cannot parse "P15:00:00+00:00"" as "T""
How to setup automatic binding to use format
time.RFC3339
?i cannot find any middle-ware configuration
The text was updated successfully, but these errors were encountered: