You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
446 B
17 lines
446 B
package gotime
|
|
|
|
const (
|
|
DateTimeFormat = "2006-01-02 15:04:05"
|
|
DateTimeShrinkFormat = "2006-01-02 15:04"
|
|
DateFormat = "2006-01-02"
|
|
TimeFormat = "15:04:05"
|
|
)
|
|
|
|
const (
|
|
DateTimeZhFormat = "2006年01月02日 15点04分05秒"
|
|
DateTimeZhShrinkFormat = "2006年01月02日 15点04分"
|
|
DateZhFormat = "2006年01月02日"
|
|
TimeZhFormat = "15点04分05秒"
|
|
TimeZhShrinkFormat = "15点04分"
|
|
)
|