jforget / Astro-Sunrise

Astro-Sunrise: computing the time of sunrise and sunset for a given location on Earth and a given date
https://metacpan.org/pod/Astro::Sunrise
Other
2 stars 3 forks source link

POD typo: "dst" or "isdst"? [rt.cpan.org #120610] #14

Closed jforget closed 3 years ago

jforget commented 3 years ago

Migrated from rt.cpan.org#120610 (status was 'resolved')

Requestors:

From j2n-forget@orange.fr on 2017-03-13 20:46:28 :

Reported by Steve Temple through email:

I've just started to use Astro::Sunrise and to test I copied
the first call in the Synopsis section of the POD.

   my ($sunrise, $sunset) = sunrise( { year => 2015, month => 9, day => 2,
                                       lon  => -3.6, lat   => 37.17,
                                       tz   => 1,    dst   => 1 } );

It seems there is a typo in there and the key "dst" should be
"isdst".

It's minor but it may trip a few people up!
jforget commented 3 years ago

Friday 2017-10-20: issue is closed.