]> Cypherpunks repositories - gostls13.git/commit
log: add flag LUTC, to use UTC time zone for time stamp
authorRob Pike <r@golang.org>
Fri, 10 Apr 2015 20:33:03 +0000 (13:33 -0700)
committerRob Pike <r@golang.org>
Sat, 11 Apr 2015 02:30:24 +0000 (02:30 +0000)
commitefb9bd5bb12a7c848dc4af708dd216e5cd3c2b0e
tree79689dd805d6a16156826b8adacfc302c4145062
parent1d1c61ba7de586d5fcbdcbfe3543adb660ef73d1
log: add flag LUTC, to use UTC time zone for time stamp

Issue 9483 suggests several approaches to correlating logs from
machines in different time zones. This approach is the simplest and
really should be sufficient: provide a way to clamp the time stamps
to UTC.

Fixes #9483.

Change-Id: If540b991d758c4d845a719779f8255ece7c452e7
Reviewed-on: https://go-review.googlesource.com/8761
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/log/log.go
src/log/log_test.go