/* * Copyright (C) 2015-present ScyllaDB */ /* * SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0 */ #include #include "mutation/timestamp.hh" #include "clocks-impl.hh" std::atomic clocks_offset; std::string format_timestamp(api::timestamp_type ts) { std::chrono::system_clock::time_point when{api::timestamp_clock::duration(ts)}; return fmt::format("{:%Y/%m/%d %T}", when); }