View Single Post
  #16  
Old 26-11-2009, 08:01 PM
sheeny's Avatar
sheeny (Al)
Spam Hunter

sheeny is offline
 
Join Date: Jun 2005
Location: Oberon NSW
Posts: 14,434
Quote:
Originally Posted by mithrandir View Post
Al, can you explain this? The PC clock is showing 17:21 Sydney daylight saving.
If I run your program with "Use TZ" I get 22:43 sidereal.

If I switch to "Use Long" with 150deg 59" 40' E I get 20:47 sidereal, which matches the value from http://tycho.usno.navy.mil/sidereal.html

Daylight saving sign error somewhere?
I have fixed the bug. As suspected it was daylight saving error in the determine time zone routine. I added an hour to convert the time to daylight saving, when I should've subtracted to get standard time.

I've attached the updated version (v2.1) with the bug fixed, and I've sent a copy to Mike to update the link on the resources page.

Thanks for letting me know Mithrandir!

Al.
Attached Files
File Type: zip AlsAstroClock21.zip (229.5 KB, 20 views)

Last edited by sheeny; 26-11-2009 at 08:13 PM.
Reply With Quote