diff options
author | dakovalkov <dakovalkov@yandex-team.com> | 2023-02-11 01:11:48 +0300 |
---|---|---|
committer | dakovalkov <dakovalkov@yandex-team.com> | 2023-02-11 01:11:48 +0300 |
commit | 17dbb95cd16a40cae47b42c20177d002399d0966 (patch) | |
tree | 59c92ad5c3176b7ba0fdf6b06612aa0b8df4fcd3 /contrib/libs/cctz/src/time_zone_fixed.cc | |
parent | 11b962b8e62695efbacddbab264d4821c53edb17 (diff) | |
download | ydb-17dbb95cd16a40cae47b42c20177d002399d0966.tar.gz |
Update cctz to 2021-03-11
Diffstat (limited to 'contrib/libs/cctz/src/time_zone_fixed.cc')
-rw-r--r-- | contrib/libs/cctz/src/time_zone_fixed.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libs/cctz/src/time_zone_fixed.cc b/contrib/libs/cctz/src/time_zone_fixed.cc index ce79822ada..6031d7c87e 100644 --- a/contrib/libs/cctz/src/time_zone_fixed.cc +++ b/contrib/libs/cctz/src/time_zone_fixed.cc @@ -48,7 +48,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; } |