Summary: | The preview does not display date and time properly for Japanese locale | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Yukiko Bando <ybando> |
Component: | Plugin-Generic-TimeAdjust | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandriva RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 0.1.0 | |
Sentry Crash Report: |
Description
Yukiko Bando
2007-01-30 14:23:10 UTC
SVN commit 673172 by cgilles: kipi-plugins from KDE3 branch : TimeAdjust : use local date time encoding to display exemple on bottom of dialog BUG: 140890 M +25 -3 timeadjustdialog.cpp --- branches/extragear/kde3/libs/kipi-plugins/timeadjust/timeadjustdialog.cpp #673171:673172 @@ -1,4 +1,26 @@ -7 +/* ============================================================ + * + * This file is a part of kipi-plugins project + * http://www.kipi-plugins.org + * + * Date : 2004-05-16 + * Description : a plugin to set time stamp of picture files. + * + * Copyright (C) 2003-2005 by Jesper Pedersen <blackie@kde.org> + * Copyright (C) 2006-2007 by Gilles Caulier <caulier dot gilles at gmail dot com> + * + * This program is free software; you can redistribute it + * and/or modify it under the terms of the GNU General + * Public License as published by the Free Software Foundation; + * either version 2, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * ============================================================ */ + // C Ansi includes. extern "C" @@ -375,9 +397,9 @@ void TimeAdjustDialog::slotUpdateExample() { - QString oldDate = d->exampleDate.toString(); + QString oldDate = d->exampleDate.toString(Qt::LocalDate); QDateTime date = updateTime(KURL(), d->exampleDate); - QString newDate = date.toString(); + QString newDate = date.toString(Qt::LocalDate); d->exampleAdj->setText(i18n("<b>%1</b><br>would, for example, " "change into<br><b>%2</b>") .arg(oldDate).arg(newDate)); |