[Kstars-devel] KDE/kdeedu/kstars/kstars/tools
Akarsh Simha
akarshsimha at gmail.com
Sat Dec 19 12:48:23 CET 2009
On Sat, Dec 19, 2009 at 01:05:01AM +0530, Prakash Mohan wrote:
> 2009/12/18 Akarsh Simha <akarshsimha at gmail.com>:
> > SVN commit 1063392 by asimha:
> >
> > M +1 -1 observinglist.cpp
> >
> >
> > --- trunk/KDE/kdeedu/kstars/kstars/tools/observinglist.cpp #1063391:1063392
> > @@ -292,7 +292,7 @@
> > << new QStandardItem( p.dec()->toDMSString() )
> > << new QStandardItem( smag )
> > << new QStandardItem( obj->typeName() )
> > - << new QStandardItem( TimeHash.value( obj->name(), obj->transitTime( dt, geo ) ).toString( "h:mm A" ) )
> > + << new QStandardItem( TimeHash.value( obj->name(), obj->transitTime( dt, geo ) ).toString( "HH:mm" ) )
> > << new QStandardItem( p.alt()->toDMSString() )
> > << new QStandardItem( p.az()->toDMSString() );
> > m_Session->appendRow( itemList );
> >
>
> This still doesn't settle the issue well, 8:00 pm should come before
> 1:00 am in the sorting right?
> Maybe we should have a sort function and disable the current
> TableView's sorting.
No -- HH is 24 hour format :)
It works reasonably well.
Regards
Akarsh
More information about the Kstars-devel
mailing list