Unverified Commit 54fb2ff4 authored by azubieta's avatar azubieta

Use readable timestamp on file names

parent 6f592b75
......@@ -44,8 +44,9 @@ void InstallCommand::createApplicationsDir() {
}
QString InstallCommand::buildTargetPath(const Attica::Content& content, const Attica::DownloadDescription& download) {
const QDateTime contentUpdateDate = content.updated();
QStringList postfixParts = {content.id(), content.name().replace(" ", "_"), content.version(),
QString::number(content.updated().toSecsSinceEpoch())};
contentUpdateDate.toString("yyyy-MM-dd-HH-mm")};
QString fileNamePostfix = "__" + postfixParts.join("-") + ".AppImage";
QString fileName = download.name();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment