From bf7a320050bbb6c1069a35aae478ce5dd3a62d30 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Tue, 13 Dec 2022 21:04:09 +0200 Subject: [PATCH] BAN: Fix Time format printing --- BAN/include/BAN/Time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BAN/include/BAN/Time.h b/BAN/include/BAN/Time.h index 7254858fc..e929d69b8 100644 --- a/BAN/include/BAN/Time.h +++ b/BAN/include/BAN/Time.h @@ -27,7 +27,7 @@ namespace BAN::Formatter { constexpr const char* week_days[] { "", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; constexpr const char* months[] { "", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; - print("{} {} {} {}:{}:{} GMT+0 {}", week_days[time.week_day], months[time.month], time.day, time.hour, time.minute, time.second, time.year); + print("{} {} {} {2}:{2}:{2} GMT+0 {4}", week_days[time.week_day], months[time.month], time.day, time.hour, time.minute, time.second, time.year); } } \ No newline at end of file