change names to reflect function, add separate Time/Date

This commit is contained in:
mateusz
2020-02-18 14:59:47 +01:00
committed by Mateusz Grzywacz
parent 015f84f35f
commit f314da6eda
10 changed files with 151 additions and 67 deletions

View File

@@ -102,7 +102,7 @@ namespace gui
record.number = title->getText();
record.body = text->getText();
record.type = SMSType::QUEUED;
auto time = utils::time::Time();
auto time = utils::time::Timestamp();
record.date = time.getTime();
DBServiceAPI::SMSAdd(this->application, record);