diff --git a/include/infra/chrono.h b/include/infra/chrono.h index fc1ccf00..19ed43f5 100644 --- a/include/infra/chrono.h +++ b/include/infra/chrono.h @@ -24,18 +24,22 @@ namespace inf::chrono { #ifdef HAVE_CPP20_CHRONO using days = std::chrono::days; +using month = std::chrono::month; using year = std::chrono::year; using date_point = std::chrono::time_point; using time_point = std::chrono::time_point; +using local_seconds = std::chrono::local_seconds; using local_date_point = std::chrono::local_days; using local_time_point = std::chrono::local_time; #else using days = date::days; +using month = date::month; using year = date::year; using date_point = std::chrono::time_point; using time_point = std::chrono::time_point; +using local_seconds = date::local_seconds; using local_date_point = date::local_days; using local_time_point = date::local_time; #endif