aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs
diff options
context:
space:
mode:
authordude <dude@yandex-team.ru>2022-02-10 16:47:26 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:26 +0300
commit1799496e670d66495d93a9a9c9d91d19c82b464b (patch)
tree2ac6a3ed3e77271aedfd2aefbc02ceec54eb2aef /contrib/libs
parent1fe4b402b38f476dbe36f650c3049c92ae496d38 (diff)
downloadydb-1799496e670d66495d93a9a9c9d91d19c82b464b.tar.gz
Restoring authorship annotation for <dude@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs')
-rw-r--r--contrib/libs/cctz/include/cctz/time_zone.h6
-rw-r--r--contrib/libs/cctz/src/time_zone_if.cc12
2 files changed, 9 insertions, 9 deletions
diff --git a/contrib/libs/cctz/include/cctz/time_zone.h b/contrib/libs/cctz/include/cctz/time_zone.h
index 4fc1a2a24f..31f2fe024a 100644
--- a/contrib/libs/cctz/include/cctz/time_zone.h
+++ b/contrib/libs/cctz/include/cctz/time_zone.h
@@ -203,7 +203,7 @@ class time_zone {
civil_transition* trans) const {
return prev_transition(detail::split_seconds(tp).first, trans);
}
-
+
// version() and description() provide additional information about the
// time zone. The content of each of the returned strings is unspecified,
// however, when the IANA Time Zone Database is the underlying data source
@@ -373,10 +373,10 @@ inline bool parse(const std::string& fmt, const std::string& input,
return b;
}
-// Access to convert functions which are placed in time_zone_if.h
+// Access to convert functions which are placed in time_zone_if.h
time_point<seconds> UnixSecondsToTimePoint(std::int_fast64_t);
std::int_fast64_t TimePointToUnixSeconds(const time_point<seconds>& tp);
-
+
} // namespace cctz
#endif // CCTZ_TIME_ZONE_H_
diff --git a/contrib/libs/cctz/src/time_zone_if.cc b/contrib/libs/cctz/src/time_zone_if.cc
index a80dbcd60d..27c32f83b0 100644
--- a/contrib/libs/cctz/src/time_zone_if.cc
+++ b/contrib/libs/cctz/src/time_zone_if.cc
@@ -35,11 +35,11 @@ std::unique_ptr<TimeZoneIf> TimeZoneIf::Load(const std::string& name) {
TimeZoneIf::~TimeZoneIf() {}
time_point<seconds> UnixSecondsToTimePoint(std::int_fast64_t seconds) {
- return FromUnixSeconds(seconds);
-}
-
+ return FromUnixSeconds(seconds);
+}
+
std::int_fast64_t TimePointToUnixSeconds(const time_point<seconds>& tp) {
- return ToUnixSeconds(tp);
-}
-
+ return ToUnixSeconds(tp);
+}
+
} // namespace cctz