mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Don't involve locale in filename timestamp generation
It was batch replaced as part of 7b5781b845
, but it's not really semantically valid
This commit is contained in:
parent
fc26457218
commit
1326359745
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ QString filedialogDefaultName(
|
|||
QString base;
|
||||
if (fileTime) {
|
||||
const auto date = base::unixtime::parse(fileTime);
|
||||
base = prefix + QLocale().toString(date, "_yyyy-MM-dd_HH-mm-ss");
|
||||
base = prefix + date.toString("_yyyy-MM-dd_HH-mm-ss");
|
||||
} else {
|
||||
struct tm tm;
|
||||
time_t t = time(NULL);
|
||||
|
|
Loading…
Add table
Reference in a new issue