mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(timeformat): Make timestamp editable same as date format
This commit is contained in:
parent
35e7da85d3
commit
d6f323cefc
|
@ -132,11 +132,12 @@ UserInterfaceForm::UserInterfaceForm(SettingsWidget* myParent) :
|
|||
|
||||
QStringList dateFormats;
|
||||
dateFormats << QStringLiteral("yyyy-MM-dd") // ISO 8601
|
||||
|
||||
// format strings from system locale
|
||||
<< ql.dateFormat(QLocale::LongFormat)
|
||||
<< ql.dateFormat(QLocale::ShortFormat)
|
||||
<< ql.dateFormat(QLocale::NarrowFormat);
|
||||
<< ql.dateFormat(QLocale::NarrowFormat)
|
||||
<< "dd-MM-yyyy" << "d-MM-yyyy" << "dddd dd-MM-yyyy" << "dddd d-MM";
|
||||
|
||||
dateFormats.removeDuplicates();
|
||||
|
||||
for (QString format : dateFormats)
|
||||
|
|
Loading…
Reference in New Issue
Block a user