View Issue Details

IDProjectCategoryView StatusLast Update
0000413SkyChart1-Softwarepublic09-02-07 17:58
ReporterJohn Sunderland Assigned ToPatrick Chevalley  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformAllOSAllOS VersionAll
Product Version3.0.1.5 SVN 
Fixed in Version3.0.1.5 SVN 
Summary0000413: TTimePicker Read Time uses minutes twice and not seconds
DescriptionLine 881 in jdcalender.pas:

function TTimePicker.ReadTime: TDateTime;
begin
EditH.Text:=FixNum(EditH.Text,2);
EditM.Text:=FixNum(EditM.Text,2);
EditS.Text:=FixNum(EditS.Text,2);
>>>>>result:=(strtointdef(EditH.Text,0)+(strtointdef(EditM.Text,0)/60)+(strtointdef(EditM.Text,0)/3600))/24;
end;

Presumably the second EditM.Text should be EditS.Text.

(Sorry, I do not quite understand SVN enough to create a patch!)
Additional InformationI don't think I would have noticed this in CDC - I borrowed the component for a project of my own (to do with feeds for the RASNZ (New Zealand / Australia) occultation website). Thanks for all the work, Patrick.
TagsNo tags attached.

Activities

Patrick Chevalley

08-11-20 12:49

administrator   ~0000765

Thanks for that!
this is applied to rev 1148
http://svn.origo.ethz.ch/viewvc/skychart?view=rev&revision=1148

It's also nice to know this components can be reused for other project.

Issue History

Date Modified Username Field Change
08-11-20 02:15 John Sunderland New Issue
08-11-20 12:49 Patrick Chevalley Status new => resolved
08-11-20 12:49 Patrick Chevalley Fixed in Version 0.3.0 => 3.0.1.5 SVN
08-11-20 12:49 Patrick Chevalley Resolution open => fixed
08-11-20 12:49 Patrick Chevalley Assigned To => Patrick Chevalley
08-11-20 12:49 Patrick Chevalley Note Added: 0000765
09-02-07 17:58 Patrick Chevalley Status resolved => closed