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("-");
|
auto sp = d.split("-");
|
||||||
day = sp[0].toInt();
|
day = sp[0].toInt();
|
||||||
if (sp.length() >= 2)
|
if (sp.length() >= 2)
|
||||||
mounth = sp[1].length();
|
mounth = sp[1].toInt();
|
||||||
}
|
}
|
||||||
int mounth;
|
int mounth;
|
||||||
int day;
|
int day;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user