Browse Source

print log every time regulater timezone

pull/1764/head
Unknwon 9 years ago
parent
commit
570ddefc32
  1. 3
      models/models.go

3
models/models.go

@ -52,8 +52,9 @@ func regulateTimeZone(t time.Time) time.Time {
}
zone := t.Local().Format("-0700")
log.Trace("regulateTimeZone: %s - %s", t.Local(), zone)
if len(zone) != 5 {
log.Debug("Unprocessable time: %v", t.Local())
return t
}
hour := com.StrTo(zone[2:3]).MustInt()

Loading…
Cancel
Save