Fixed date constructor
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
bf95cfb30e
commit
718aca3d06
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user