Skip Menu |

This queue is for tickets about the Astro-Sunrise CPAN distribution.

Report information
The Basics
Id: 2698
Status: resolved
Worked: 50 min
Priority: 0/
Queue: Astro-Sunrise

People
Owner: rkhill [...] cpan.org
Requestors: slaven [...] rezic.de
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: What if there is no sunset/sunrise at all?
Here a test case where Astro::Sunrise returns strange values: $ perl -MAstro::Sunrise=sun_rise,sun_set -e 'warn sun_rise(13.33,52.5,-15), "\n", sun_set(13.33,52.5,-15), "\n";' 2:-7 24:15 I suspect that there is no astronomical twilight in Berlin now. Probably it's best to return undef in such cases. Regards, Slaven
This problem was I reintroduced a bug that I fixed in version0.5 The error was in the conversion to local time. fixed in version 0.85 Ron Hill