You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
I have found the reason. The default serialization function now uses the encoding/JSON package, which used to be a JSONiter. This can explain why I am unable to use the jsonTime ' Set Default Time Format ("2006-01-02 15:04:05", time. Local) to set the default time format.
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: