Skip to content

Commit

Permalink
🐞 lastUpdateが空なのを修正 code4nara/covid19#160
Browse files Browse the repository at this point in the history
  • Loading branch information
miiton committed Apr 25, 2020
1 parent be422d6 commit 54ca8f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func genData(svc *sheets.Service, spreadsheetID string) {
}
data.PatientsSummary = *patientsSummary
data.MainSummary = *mainSummary
data.LastUpdate = time.Now().Format("2006/01/02 15:04")
j, err := json.Marshal(data)
if err != nil {
log.Println("error:", err)
Expand Down

0 comments on commit 54ca8f2

Please sign in to comment.