View Issue Details

IDProjectCategoryView StatusLast Update
0000087SkyChart1-Softwarepublic08-09-18 08:03
ReporterGeoff Chester Assigned ToPatrick Chevalley  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx86OSWindowsOS VersionXP
Product Version3.0.1.1 SVN 
Summary0000087: Chart setting time changes due to Julian Date rounding.
DescriptionIf you set a chart time for a specific time that causes the Julian Date to return an "irrational" string of 3's, the time rounds to the wrong hh:mm:ss.

i.e., I'm in the UTC -4h US Eastern Daylight Time zone. If I set today's date (2006-05-29) and a local time of 22:00:00, the Julian Date is computed as 2453885.58333. However, when I return to the date/time settings dialog to change the chart time, the displayed time in the selection boxes is now 21:59:59. If I add another 3 to the Julian Date decimal fraction (2453885.583333) the correct time (22:00:00) displays. This only seems to happen with decimal fractions of the JD that have an irrational string of 3's.
TagsNo tags attached.

Activities

Patrick Chevalley

06-06-11 22:01

administrator   ~0000152

Revision 494 increase the JD display to 6 digits to avoid this problem .

http://svn.origo.ethz.ch/viewvc/skychart?rev=494&view=rev

Issue History

Date Modified Username Field Change
06-05-30 03:26 Geoff Chester New Issue
06-06-11 22:01 Patrick Chevalley Status new => resolved
06-06-11 22:01 Patrick Chevalley Resolution open => fixed
06-06-11 22:01 Patrick Chevalley Assigned To => Patrick Chevalley
06-06-11 22:01 Patrick Chevalley Note Added: 0000152
08-09-18 08:03 Patrick Chevalley Status resolved => closed