made the date a object
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@ -74,13 +74,6 @@ class FileCatPack : public BasicCatPack {
|
||||
class JsonCatPack : public BasicCatPack {
|
||||
public:
|
||||
struct PartialDate {
|
||||
PartialDate(QString d)
|
||||
{
|
||||
auto sp = d.split("-");
|
||||
day = sp[0].toInt();
|
||||
if (sp.length() >= 2)
|
||||
month = sp[1].toInt();
|
||||
}
|
||||
int month;
|
||||
int day;
|
||||
};
|
||||
|
Reference in New Issue
Block a user