Using the example code included in the man page for DateTime::Astro::Sunrise, I'm getting back ~14:00 for the sunrise and ~2:00 for the sunset.
My machine's time and timezone are set correctly (AFAIK).
Am I reading something wrong? 2am and 2pm are just so brutually wrong.
use DateTime;
use DateTime::Astro::Sunrise;
my $dt = DateTime->new( year => 2010,
month => 3,
day => 15,
);
my $sunrise = DateTime::Astro::Sunrise ->new('-117','33',undef,1);
my ($tmp_rise, $tmp_set) = $sunrise->sunrise($dt);
printf "%s\n", $tmp_rise;
printf "%s\n", $tmp_set;