9 lines
163 B
Go
9 lines
163 B
Go
package timehelper
|
|
|
|
import "time"
|
|
|
|
// SetupCST 把本地时区固定到CST
|
|
func SetupCST() {
|
|
time.Local = time.FixedZone("CST", 8*3600) //nolint:gomnd,reassign
|
|
}
|