diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-04-28 19:48:13 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-04-28 19:48:13 +0000 |
commit | 9e012965f44acf0457121eb99e817a314286bb59 (patch) | |
tree | 2ce94d7f0804ccb77d1fa9b2a1bca00eecdff1e2 /third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc | |
parent | f60eaea2240ba9e1c508e8e0c91d39ee9fc47be5 (diff) | |
parent | 7563023510bf04108a954596ea9393a4c11ac279 (diff) | |
download | webrtc-9e012965f44acf0457121eb99e817a314286bb59.tar.gz |
Snap for 8505378 from 7563023510bf04108a954596ea9393a4c11ac279 to mainline-go-neuralnetworks-release
Change-Id: I4cf1c31881b0277ddf5b64ed967b90de7b867186
Diffstat (limited to 'third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc')
-rw-r--r-- | third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc b/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc index 303c0244a8..f2b3294ef7 100644 --- a/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc +++ b/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc @@ -53,7 +53,7 @@ int Parse02d(const char* p) { } // namespace bool FixedOffsetFromName(const std::string& name, seconds* offset) { - if (name.compare(0, std::string::npos, "UTC", 3) == 0) { + if (name == "UTC" || name == "UTC0") { *offset = seconds::zero(); return true; } |