Fixed date constructor

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2023-06-23 09:24:18 +03:00
parent bf95cfb30e
commit 718aca3d06
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318

View File

@ -79,7 +79,7 @@ class JsonCatPack : public BasicCatPack {
auto sp = d.split("-");
day = sp[0].toInt();
if (sp.length() >= 2)
mounth = sp[1].length();
mounth = sp[1].toInt();
}
int mounth;
int day;