From 9e94e488f5006172245b2f977ab207ee140aca43 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Fri, 10 Nov 2017 06:33:50 -0800 Subject: Changes imported from Abseil "staging" branch: - 28631b3dbc582cb88a637cc4c70886e38a4be0cf Refactoring to support production kernel Futex implementa... by Derek Mauro - 411e7bb779c32bbc02b5fa6f516087a02fcb0812 Update comments about leap smearing. by Abseil Team GitOrigin-RevId: 28631b3dbc582cb88a637cc4c70886e38a4be0cf Change-Id: I0506aa2705212cd466460cae60182b0c2c667972 --- absl/time/time.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'absl/time/time.h') diff --git a/absl/time/time.h b/absl/time/time.h index 58f25e14ef94..77366b58a165 100644 --- a/absl/time/time.h +++ b/absl/time/time.h @@ -506,9 +506,7 @@ std::string UnparseFlag(Duration d); // // `absl::Time` assumes there are 60 seconds in a minute, which means the // underlying time scales must be "smeared" to eliminate leap seconds. -// POSIX, for example, legislates that a `time_t` value of `536457599` shall -// correspond to "1986-12-31 23:59:59 +0000". -// +// See https://developers.google.com/time/smear. // // Even though `absl::Time` supports a wide range of timestamps, exercise // caution when using values in the distant past. `absl::Time` uses the -- cgit 1.4.1