[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.1/kdeedu/kstars/kstars
From: Jason Harris <kstars () 30doradus ! org>
Date: 2008-07-15 3:45:13
Message-ID: 1216093513.559328.13106.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 832605 by harris:
Make sure seconds are displayed in some parts of the UI (this is a supplement to
the fix for bug #165173)
CCBUG: 165173
M +2 -2 infoboxes.cpp
M +2 -2 tools/modcalcplanets.cpp
M +2 -2 tools/modcalcsidtime.cpp
--- branches/KDE/4.1/kdeedu/kstars/kstars/infoboxes.cpp #832604:832605
@@ -353,10 +353,10 @@
QString ot3 = TimeBox->text3();
TimeBox->setText1( i18nc( "Local Time", "LT: " ) +
- KGlobal::locale()->formatTime( lt.time() ) + " " +
+ KGlobal::locale()->formatTime( lt.time(), true ) + " " +
KGlobal::locale()->formatDate( lt.date() ) );
TimeBox->setText2( i18nc( "Universal Time", "UT: " ) +
- KGlobal::locale()->formatTime( ut.time() ) + " " +
+ KGlobal::locale()->formatTime( ut.time(), true ) + " " +
KGlobal::locale()->formatDate( ut.date() ) );
QString STString;
--- branches/KDE/4.1/kdeedu/kstars/kstars/tools/modcalcplanets.cpp #832604:832605
@@ -406,10 +406,10 @@
utB = UTBoxBatch->time();
if ( AllRadioBatch->isChecked() )
- lineToWrite += KGlobal::locale()->formatTime( utB ).append(space);
+ lineToWrite += KGlobal::locale()->formatTime( utB, true ).append(space);
else
if(UTCheckBatch->isChecked() )
- lineToWrite += KGlobal::locale()->formatTime( utB ).append(space);
+ lineToWrite += KGlobal::locale()->formatTime( utB, true ).append(space);
// Read date and write in ostream if corresponds
--- branches/KDE/4.1/kdeedu/kstars/kstars/tools/modcalcsidtime.cpp #832604:832605
@@ -320,8 +320,8 @@
//Write to output file
ostream << KGlobal::locale()->formatDate( dt, KLocale::LongDate ) << " \""
<< geoBatch->fullName() << "\" "
- << KGlobal::locale()->formatTime( inTime ) << " "
- << KGlobal::locale()->formatTime( outTime ) << endl;
+ << KGlobal::locale()->formatTime( inTime, true ) << " "
+ << KGlobal::locale()->formatTime( outTime, true ) << endl;
}
fOut.close();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic