[Kstars-devel] KDE/kdeedu/kstars/kstars/tools

Prakash Mohan prak902000 at gmail.com
Sat Oct 3 04:32:51 CEST 2009


SVN commit 1030702 by prakash:

The duration string came up with am or pm suffixes, fixing that.

CCMAIL: kstars-devel at kde.org


 M  +1 -1      wutdialog.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/tools/wutdialog.cpp #1030701:1030702
@@ -167,7 +167,7 @@
         int hDur = int(Dur);
         int mDur = int(60.0*(Dur - (float)hDur));
         QTime tDur( hDur, mDur );
-        sDuration = KGlobal::locale()->formatTime( tDur );
+        sDuration = KGlobal::locale()->formatTime( tDur, false, true );
     }
 
     WUT->SunSetLabel->setText( i18nc( "Sunset at time %1 on date %2", "Sunset: %1 on %2" , sSet, KGlobal::locale()->formatDate( Evening.date(), KLocale::LongDate) ) );


More information about the Kstars-devel mailing list