diff options
Diffstat (limited to 'absl/time')
-rw-r--r-- | absl/time/duration.cc | 2 | ||||
-rw-r--r-- | absl/time/time.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/absl/time/duration.cc b/absl/time/duration.cc index be4ef2ea7ead..8ce4acbb5053 100644 --- a/absl/time/duration.cc +++ b/absl/time/duration.cc @@ -856,7 +856,7 @@ bool ConsumeDurationUnit(const char** start, Duration* unit) { } // namespace // From Go's doc at https://golang.org/pkg/time/#ParseDuration -// [ParseDuration] parses a duration string. A duration string is +// [ParseDuration] parses a duration string. A duration string is // a possibly signed sequence of decimal numbers, each with optional // fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m". // Valid time units are "ns", "us" "ms", "s", "m", "h". diff --git a/absl/time/time.h b/absl/time/time.h index fef305c50aa4..59e1dc64842b 100644 --- a/absl/time/time.h +++ b/absl/time/time.h @@ -836,8 +836,8 @@ std::string UnparseFlag(Time t); // // See also: // - https://github.com/google/cctz -// - http://www.iana.org/time-zones -// - http://en.wikipedia.org/wiki/Zoneinfo +// - https://www.iana.org/time-zones +// - https://en.wikipedia.org/wiki/Zoneinfo class TimeZone { public: explicit TimeZone(time_internal::cctz::time_zone tz) : cz_(tz) {} |