Commit ceca9cf9 by Seefs Committed by GitHub

Merge pull request #2713 from feitianbubu/pr/0eba660886e20b852bff73ff4ecd52d73a447981

parents 264f07da 21c0a51d
...@@ -263,7 +263,7 @@ func GetTimestamp() int64 { ...@@ -263,7 +263,7 @@ func GetTimestamp() int64 {
} }
func GetTimeString() string { func GetTimeString() string {
now := time.Now() now := time.Now().UTC()
return fmt.Sprintf("%s%d", now.Format("20060102150405"), now.UnixNano()%1e9) return fmt.Sprintf("%s%d", now.Format("20060102150405"), now.UnixNano()%1e9)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment