2019-08-09 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdlogedit(1) that caused hard start log items
	to have the Hour field doubled.
This commit is contained in:
Fred Gleason 2019-08-09 11:25:38 -04:00
parent f834a5821f
commit ffe986f695
2 changed files with 6 additions and 3 deletions

View File

@ -18912,3 +18912,6 @@
* Added a check in the 'JACK Client Configuration' dialog in
rdadmin(1) to remove trailing whitespace in the
'Command Line' field.
2019-08-09 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlogedit(1) that caused hard start log items
to have the Hour field doubled.

View File

@ -2,7 +2,7 @@
//
// A Rivendell Voice Tracker
//
// (C) Copyright 2002-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@ -2619,8 +2619,8 @@ void VoiceTracker::RefreshLine(RDListViewItem *item)
}
if(!logline->startTime(RDLogLine::Logged).isNull()) {
if(logline->timeType()==RDLogLine::Hard) {
item->setText(1,logline->startTime(RDLogLine::Imported).
toString("Hhh:mm:ss.zzz").left(11));
item->setText(1,"H"+logline->startTime(RDLogLine::Imported).
toString("hh:mm:ss.zzz").left(11));
}
else {
item->setText(1,logline->startTime(RDLogLine::Imported).