You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
There is a rare problem that the duration calculation will be in error when daylight saving turns on or off, for locales that have it. A simple solution might be to change lines 59 and 61
start := al.clock().UTC()
al.handler.ServeHTTP(wrapper, r)
end := al.clock().UTC()
and simplify line 87
start.Format(apacheFormat),
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is based on source code inspection of logging/logging.go.
Lines 59-61 get the time in the local timezone.
Line 87 does a conversion to UTC
and line 95 is
There is a rare problem that the duration calculation will be in error when daylight saving turns on or off, for locales that have it. A simple solution might be to change lines 59 and 61
and simplify line 87
The text was updated successfully, but these errors were encountered: