summaryrefslogtreecommitdiffstats
path: root/models/models.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/models.go')
-rw-r--r--models/models.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/models/models.go b/models/models.go
index 2410ecd4e2..802bc9426a 100644
--- a/models/models.go
+++ b/models/models.go
@@ -52,9 +52,8 @@ 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.Error(4, "Unprocessable timezone: %s - %s", t.Local(), zone)
return t
}
hour := com.StrTo(zone[2:3]).MustInt()