109 static std::optional<std::chrono::utc_clock::time_point>
Scan(std::string_view input) {
110 using TimePoint = std::chrono::utc_clock::time_point;
111 static constexpr char outputFormat[]{
"%Y-%m-%d %H:%M:%S %z" };
113 if (input.empty())
return std::nullopt;
115 std::istringstream ss{ std::string{ input } };
118 if (TimePoint clock; std::chrono::from_stream(ss, outputFormat, clock))