From 84afacc99f6257afcc5bcd5ebc60e6f8ef53858c Mon Sep 17 00:00:00 2001 From: MichaelBrunner Date: Sun, 2 Jun 2024 18:28:55 +0200 Subject: [PATCH] ENH: add missing header includes for mac os --- gtfs/test/test_gtfsReader.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtfs/test/test_gtfsReader.cpp b/gtfs/test/test_gtfsReader.cpp index 9e544d15..eb962c4e 100644 --- a/gtfs/test/test_gtfsReader.cpp +++ b/gtfs/test/test_gtfsReader.cpp @@ -41,12 +41,12 @@ TEST(GTFS, TestFunction) { std::ranges::for_each(data.calendars, [&](const auto& calendar) { LoggingPool::getLogger()->info("Service ID: {}", calendar.serviceId); - LoggingPool::getLogger()->info("Start Date: {}", std::format("{:%F}", calendar.startDate)); - LoggingPool::getLogger()->info("End Date: {}", std::format("{:%F}", calendar.endDate)); + LoggingPool::getLogger()->info("Start Date: {}", fmt::format("{:%F}", calendar.startDate)); + LoggingPool::getLogger()->info("End Date: {}", fmt::format("{:%F}", calendar.endDate)); LoggingPool::getLogger()->info("Weekday Service: "); for (const auto& [day, service] : calendar.weekdayService) { - LoggingPool::getLogger()->info("{}: {}", std::format("{:%A}", day), (service ? "Service" : "No service")); + LoggingPool::getLogger()->info("{}: {}", fmt::format("{:%A}", day), (service ? "Service" : "No service")); } }); } \ No newline at end of file