1
0

fix data -1

This commit is contained in:
2024-02-06 07:21:38 +09:00
parent f1bfdf41fb
commit f7df1224e0
10 changed files with 68 additions and 9 deletions

View File

@ -19,8 +19,9 @@ type User struct {
}
func Nextime() (tt string){
t := time.Now().In(jst)
//t := time.Now().Add(time.Hour * 24 * 1).In(jst)
//t := time.Now().In(jst)
//t := time.Now().Add(time.Hour * 24 * 1).In(jst)
t := time.Now().AddDate(0, 0, -1).In(jst)
tt = t.Format("20060102")
return
}