From b16d51e7d108c50e960d4598cb7cd47854c76f3e Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 19 Sep 2024 19:55:14 +0100 Subject: Add helper to quickly parse an ISO date/time --- lib/chronology.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/chronology.h') diff --git a/lib/chronology.h b/lib/chronology.h index 1980116..688a1f7 100644 --- a/lib/chronology.h +++ b/lib/chronology.h @@ -1,5 +1,7 @@ #pragma once #include +#include using TickDuration = std::chrono::duration; +time_t operator""_time_t(const char * iso, size_t); -- cgit v1.2.3