diff --git a/include/infra/chrono.h b/include/infra/chrono.h index 6ec7d918..14f5b10a 100644 --- a/include/infra/chrono.h +++ b/include/infra/chrono.h @@ -35,6 +35,20 @@ using local_seconds = std::chrono::local_seconds; using local_date_point = std::chrono::local_days; using local_time_point = std::chrono::local_time; using choose = std::chrono::choose; + +auto January = std::chrono::January; +auto February = std::chrono::February; +auto March = std::chrono::March; +auto April = std::chrono::April; +auto May = std::chrono::May; +auto June = std::chrono::June; +auto July = std::chrono::July; +auto August = std::chrono::August; +auto September = std::chrono::September; +auto October = std::chrono::October; +auto November = std::chrono::November; +auto December = std::chrono::December; + #else using days = date::days; using month = date::month; @@ -48,6 +62,19 @@ using local_seconds = date::local_seconds; using local_date_point = date::local_days; using local_time_point = date::local_time; using choose = date::choose; + +auto January = date::January; +auto February = date::February; +auto March = date::March; +auto April = date::April; +auto May = date::May; +auto June = date::June; +auto July = date::July; +auto August = date::August; +auto September = date::September; +auto October = date::October; +auto November = date::November; +auto December = date::December; #endif date_point today();