From 03f9c93efb91e13c7c9222467ddce26f88f96a90 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 13 Nov 2024 03:26:03 +0000 Subject: [PATCH] Code format - (Clang-format) --- src/game/scheduling/events_scheduler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/game/scheduling/events_scheduler.cpp b/src/game/scheduling/events_scheduler.cpp index 01790789408..25822426651 100644 --- a/src/game/scheduling/events_scheduler.cpp +++ b/src/game/scheduling/events_scheduler.cpp @@ -56,8 +56,7 @@ bool EventsScheduler::loadScheduleEventFromJson() { } int startYear, startMonth, startDay, endYear, endMonth, endDay; - if (sscanf(event["startdate"].get().c_str(), "%d/%d/%d", &startMonth, &startDay, &startYear) != 3 || - sscanf(event["enddate"].get().c_str(), "%d/%d/%d", &endMonth, &endDay, &endYear) != 3) { + if (sscanf(event["startdate"].get().c_str(), "%d/%d/%d", &startMonth, &startDay, &startYear) != 3 || sscanf(event["enddate"].get().c_str(), "%d/%d/%d", &endMonth, &endDay, &endYear) != 3) { g_logger().warn("{} - Invalid date format for event '{}'", __FUNCTION__, eventName); continue; }