-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
How to set the default time format for serialization of MVC response objects? #2454
Comments
I seted app.Run(...,iris.WithTimeFormat("2006-01-02 15:04:05")) but it's not work. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How should I set up MVC What is the format of the date and time when serializing objects in Response?
`
func (this *BussApiController) GetActivityBySearch() mvc.Result {
}
`
I used to be able to set the default time format for JSON serialization using the GitHub. com/liamylian/jsontime/v2/v2 package when using v12.2.8. However, after upgrading to v12.2.11, this method has become ineffective.
`import(
)
func main() {
}
`
The text was updated successfully, but these errors were encountered: