From 07a2a60411c43237a63a74b7b32fc0eeb365af3e Mon Sep 17 00:00:00 2001 From: MichaelBrunner Date: Sun, 2 Jun 2024 19:12:50 +0200 Subject: [PATCH] ENH: add missing header includes for mac os --- gtfs/test/test_gtfsReader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtfs/test/test_gtfsReader.cpp b/gtfs/test/test_gtfsReader.cpp index e26c0785..1c23ff66 100644 --- a/gtfs/test/test_gtfsReader.cpp +++ b/gtfs/test/test_gtfsReader.cpp @@ -45,8 +45,8 @@ TEST(GTFS, TestFunction) { std::ranges::for_each(data.calendars, [&](const auto& calendar) { LoggingPool::getLogger()->info("Service ID: {}", calendar.serviceId); - LoggingPool::getLogger()->info("Start Date: {}", fmt::format("{:%F}", calendar.startDate)); - LoggingPool::getLogger()->info("End Date: {}", fmt::format("{:%F}", calendar.endDate)); + LoggingPool::getLogger()->info("Start Date: {}-{}-{}", calendar.startDate.year(), calendar.startDate.month(), calendar.startDate.day()); + LoggingPool::getLogger()->info("End Date: {}-{}-{}", calendar.endDate.year(), calendar.endDate.month(), calendar.endDate.day()); LoggingPool::getLogger()->info("Weekday Service: "); for (const auto& [day, service] : calendar.weekdayService) {