Designate JST for update timestamp
This commit is contained in:
6
main.go
6
main.go
@@ -245,7 +245,11 @@ func main() {
|
|||||||
|
|
||||||
output := battleSchedule()
|
output := battleSchedule()
|
||||||
output += salmonRunSchedule()
|
output += salmonRunSchedule()
|
||||||
output += "updated at " + time.Now().Format("1/2 15:04") + "\n"
|
jst, err := time.LoadLocation("Asia/Tokyo")
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
output += "updated at " + time.Now().In(jst).Format("1/2 15:04") + "\n"
|
||||||
print(output)
|
print(output)
|
||||||
|
|
||||||
msgidstore := NewMsgIDStore()
|
msgidstore := NewMsgIDStore()
|
||||||
|
|||||||
Reference in New Issue
Block a user