|
|
@@ -740,7 +740,7 @@ func GetServerTime() (*string, error) {
|
|
|
engine := db.GetEngine()
|
|
|
|
|
|
// rst, err := engine.QueryString("select sysdate from dual")
|
|
|
- rst, err := engine.QueryString("select to_char(sysdate, 'yyyy-MM-dd hh24:mi:ss') \"SYSDATE\" from dual")
|
|
|
+ rst, err := engine.QueryString("select TO_CHAR(SYSDATE, 'YYYY-MM-DD\"T\"HH24:MI:SS') || '+08:00' \"SYSDATE\" from dual")
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|