Commit 7b35b303 authored by Karl Ove Hufthammer's avatar Karl Ove Hufthammer

Store creation time as datetime, not just date

The ‘last updated’ time was a datetime, but the ‘created’ time
was just a date, which was parsed as midnight on that date.
Now they’re both datetimes.
parent 30200a85
......@@ -204,7 +204,7 @@ KisResourceBundle *ResourceManager::saveBundle(const DlgCreateBundle &dlgCreateB
newBundle->addMeta("fileName", bundlePath);
newBundle->addMeta("created", QDate::currentDate().toString(Qt::ISODate));
newBundle->addMeta("created", QDateTime::currentDateTime().toString(Qt::ISODate));
if (!newBundle->save()) {
QMessageBox::critical(viewManager()->mainWindow(), i18nc("@title:window", "Krita"), i18n("Could not create the new bundle."));
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment