diff --git a/grmi/Date.go b/grmi/Date.go index 5f4813c..a100bab 100644 --- a/grmi/Date.go +++ b/grmi/Date.go @@ -2,8 +2,8 @@ package grmi import ( "LAPP_GAAS_GFrame_BACKEND/utils" - "encoding/json" "fmt" + json "github.com/json-iterator/go" "time" ) @@ -34,4 +34,4 @@ func (self *Date) Restore() time.Time { func (self *Date) ToString() string { date := self.Restore() return date.Format(DateOutFormat) -} \ No newline at end of file +} diff --git a/grmi/DateTime.go b/grmi/DateTime.go index 7b0026e..ec0d4f1 100644 --- a/grmi/DateTime.go +++ b/grmi/DateTime.go @@ -2,8 +2,8 @@ package grmi import ( "LAPP_GAAS_GFrame_BACKEND/utils" - "encoding/json" "fmt" + json "github.com/json-iterator/go" "time" )