adrn/apwlib — pull request #4 by demitri (2012-04-15 16:20:47+00:00)
Title: Enhancement/bug fix for parseDegrees, parseHours for format: "d m" or "h m"

...ntly interpreted as (1,2,45). Since this is a valid and unambiguous format (i.e. if I asked you to point a telescope at that declination, you'd assume the seconds value to be zero) and since the code was silently (and incorrectly) parsing the values, this patch allows that format. Note that the delimiter for strings before was allowing zero instances which caused the problem; now it requires at least one.