From 30992682dff86ba343a98f4f896c22209586ea63 Mon Sep 17 00:00:00 2001 From: julee Date: Sat, 21 Apr 2018 23:59:43 +0800 Subject: [PATCH] fixed Date Format setting item bug for yy-MM-dd format --- dialog/preferences/localepreferences.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialog/preferences/localepreferences.cpp b/dialog/preferences/localepreferences.cpp index ff887c18..fe6fe691 100644 --- a/dialog/preferences/localepreferences.cpp +++ b/dialog/preferences/localepreferences.cpp @@ -46,7 +46,7 @@ LocalePreferences::LocalePreferences(QWidget *parent) : dateFormat->addItem(tr("dd/MM/yyyy - ")+ date.toString("dd/MM/yyyy"), ddMMyyyy); dateFormat->addItem(tr("d/M/yyyy - ")+ date.toString("d/M/yyyy"), dMyyyy); dateFormat->addItem(tr("yyyy-MM-dd - ")+ date.toString("yyyy-MM-dd"), yyyyMMdd); - dateFormat->addItem(tr("yy-MM-dd - ")+ date.toString("yy-MM-dd"), yyyyMMdd); + dateFormat->addItem(tr("yy-MM-dd - ")+ date.toString("yy-MM-dd"), yyMMdd); timeFormatLabel = new QLabel(tr("Time Format"), this);