SDL: Fix SDL_GetDaysInMonth() num days in january

From dec872bdd9fef0cb1e1f69ca1eee7b8786453c53 Mon Sep 17 00:00:00 2001
From: Petar Popovic <[EMAIL REDACTED]>
Date: Wed, 1 May 2024 02:42:21 +0200
Subject: [PATCH] Fix SDL_GetDaysInMonth() num days in january

---
 src/time/SDL_time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/time/SDL_time.c b/src/time/SDL_time.c
index 1c5fc5c3dd0d5..c14d2f6439ff8 100644
--- a/src/time/SDL_time.c
+++ b/src/time/SDL_time.c
@@ -90,7 +90,7 @@ void SDL_QuitTime()
 int SDL_GetDaysInMonth(int year, int month)
 {
     static const int DAYS_IN_MONTH[] = {
-        30, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31
+        31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31
     };
 
     if (month < 1 || month > 12) {