feat: time utils.
This commit is contained in:
9
time/consts.go
Normal file
9
time/consts.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package util
|
||||
|
||||
const (
|
||||
DateLayout = "2006-01-02"
|
||||
ClockLayout = "15:04:05"
|
||||
TimeLayout = DateLayout + " " + ClockLayout
|
||||
|
||||
DefaultTimeLocationName = "Asia/Shanghai"
|
||||
)
|
||||
Reference in New Issue
Block a user