Improve log timestamp format

This commit is contained in:
2023-12-15 06:47:19 -06:00
parent b3b19a8a99
commit f0da57c723
2 changed files with 3 additions and 2 deletions

2
api.go
View File

@@ -100,7 +100,7 @@ func GetLocations() []Location {
return cachedLocations
}
tryReload("")
tryReload()
log.Printf("Refetching locations (%s since refresh)", time.Now().Sub(cacheExpiry))
body := "propertyNameEntered=" // Empty, so we get all locations