From 9251f0d89b15980565b54d1406314954c4bf6c3d Mon Sep 17 00:00:00 2001 From: XaviDev8520 <137194137+Iam-Default@users.noreply.github.com> Date: Sat, 30 Nov 2024 15:32:20 +0200 Subject: [PATCH 1/2] changed "Sprint Qualifying" to "Sprint Quali" for it to be fully visible on the CYD --- F1-Notifications/raceLogic.h | 2 +- platformio.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/F1-Notifications/raceLogic.h b/F1-Notifications/raceLogic.h index 120b6ca..e3056e0 100644 --- a/F1-Notifications/raceLogic.h +++ b/F1-Notifications/raceLogic.h @@ -84,7 +84,7 @@ const char *sessionCodeToString(const char *sessionCode) } else if (strcmp(sessionCode, "sprintQualifying") == 0) { - return "Sprint Qualifying: "; + return "Sprint Quali: "; } else if (strcmp(sessionCode, "gp") == 0) { diff --git a/platformio.ini b/platformio.ini index e9088e7..080c53d 100644 --- a/platformio.ini +++ b/platformio.ini @@ -13,7 +13,7 @@ src_dir = F1-Notifications default_envs = cyd [env] -platform = espressif32 +platform = espressif32@6.5.0 board = esp32dev framework = arduino lib_deps = From 368c9a09234dfe1f2b7ca6f2be3d101c16d136b5 Mon Sep 17 00:00:00 2001 From: XaviDev8520 <137194137+Iam-Default@users.noreply.github.com> Date: Sat, 30 Nov 2024 16:09:01 +0200 Subject: [PATCH 2/2] changed the default time format to display the short form of the day eg: Fri instead of Friday --- F1-Notifications/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/F1-Notifications/config.h b/F1-Notifications/config.h index 6f9b4ac..5fd74dc 100644 --- a/F1-Notifications/config.h +++ b/F1-Notifications/config.h @@ -11,7 +11,7 @@ class F1Config { public: // How the time will be displayed, see here for more info: https://github.com/ropg/ezTime#datetime - String timeFormat = "l, H:i"; // Friday, 00:30 + String timeFormat = "D, H:i"; // Fri, 00:30 String timeZone = "Europe/London"; // seems to be something wrong with Europe/Dublin // Telegram BOT Token (Get from Botfather)