mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
use system time format
Change-Id: I5bfe6e059cdc9a4684cf0d8cf42646445d194be7
This commit is contained in:
parent
2d0bae7b2c
commit
bb3068904d
Notes:
Deepin Code Review
2016-08-26 02:44:30 +00:00
Verified+1: Anonymous Coward #1000004 Code-Review+2: 石博文 <sbw@sbw.so> Submitted-by: 石博文 <sbw@sbw.so> Submitted-at: Fri, 26 Aug 2016 02:44:30 +0000 Reviewed-on: https://cr.deepin.io/15567 Project: dde/dde-dock Branch: refs/heads/master
@ -70,7 +70,7 @@ void DatetimePlugin::updateCurrentTimeString()
|
||||
{
|
||||
const QDateTime currentDateTime = QDateTime::currentDateTime();
|
||||
|
||||
m_dateTipsLabel->setText(currentDateTime.toString(tr("MM/dd/yyyy ddd HH:mm:ss")));
|
||||
m_dateTipsLabel->setText(currentDateTime.date().toString(Qt::SystemLocaleLongDate) + currentDateTime.toString(tr(" HH:mm:ss")));
|
||||
|
||||
const QString currentString = currentDateTime.toString("mm");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user