diff options
author | Sergey Starosek <sergey.starosek@gmail.com> | 2014-06-28 14:56:40 +0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-28 06:34:13 -0700 |
commit | 2a8f32b87ecd40c1d81624ebc4ea483eabb349fd (patch) | |
tree | 913570f7d24ab3b4bbdb9f4c61fd84b6a1f4e543 /qt-ui/graphicsview-common.h | |
parent | 22d56889bbed5616d40d4a1391750b94ec500b9e (diff) | |
download | subsurface-2a8f32b87ecd40c1d81624ebc4ea483eabb349fd.tar.gz |
Fix date and time l10n
QDateTime::toString(const QString & format) uses system locale
for month and day names.
In order to get localized month and day names for user-choosen locale
use QLocale::toString(const QDateTime & datetime, const QString & format)
instead.
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/graphicsview-common.h')
0 files changed, 0 insertions, 0 deletions