Skip Menu |

This queue is for tickets about the DateTime-Event-Easter CPAN distribution.

Report information
The Basics
Id: 7598
Status: resolved
Priority: 0/
Queue: DateTime-Event-Easter

People
Owner: J2N-FORGET [...] orange.fr
Requestors: J2N-FORGET [...] orange.fr
Cc:
AdminCc:

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



Subject: DT::E::Easter documentation bugs and test bugs
The patch fixes some documentation bugs. It does not fix bugs in file t/05sets.t: this file is strictly similar to t/04lists.t. It should test sets, not lists. Jean Forget
--- /home/p80/modules/DateTime-Event-Easter-1.00.02/lib/DateTime/Event/Easter.pm Tue Apr 1 23:00:17 2003 +++ /var/tmp/DateTime/Event/Easter.new Thu Sep 9 21:19:40 2004 @@ -290,12 +290,13 @@ $palm_sunday = DateTime::Event::Easter->new(day=>'Palm Sunday'); - $dt2 = DateTime->new( year => 2060, + $dt2 = DateTime->new( year => 2006, month => 4, day => 30, ); - @set = $palm_sunday->set(from=>$dt, to=>$dt2, inclusive=>1); + $set = $palm_sunday->as_set (from=>$dt, to=>$dt2, inclusive=>1); + @list = $palm_sunday->as_list(from=>$dt, to=>$dt2, inclusive=>1); # Sun, 13 Apr 2003 00:00:00 UTC # Sun, 04 Apr 2004 00:00:00 UTC # Sun, 20 Mar 2005 00:00:00 UTC @@ -322,7 +323,7 @@ Easter can be is March 22nd. In the orthodox world, although they now use the Gregorian Calendar -rather than the Julian, they still take the first full moon after the +rather than the Julian, they still take the first full moon on or after the Julian March 21st. As the Julian calendar is slowly getting further and further out of sync with the Gregorian, the first full moon after this date can be a completely different one than for the western Easter. This @@ -341,11 +342,11 @@ simplicity we've called them 'western' and 'eastern'. Western Easter is the day celebrated by the Catholic and Protestant -churches. It falls on the first Sunday on or after the the first Full -Moon after March 21st. +churches. It falls on the first Sunday after the first Full +Moon on or after March 21st. Eastern Easter, as celebrated by the Eastern Orthodox Churches similarly -falls on the first Sunday on or after the the first Full Moon after +falls on the first Sunday after the first Full Moon on or after March 21st. However Eastern Easter uses March 21st in the Julian Calendar. @@ -490,5 +491,5 @@ =head2 SEE ALSO -L<DateTime>, L<DateTime::Calendar::Easter>, perl(1), +L<DateTime>, L<DateTime::Calendar::Julian>, perl(1), http://datetime.perl.org.
Le Jeu 09 Sep 2004 22:15:47, JFORGET a écrit : Show quoted text
> The patch fixes some documentation bugs. It does not > fix bugs in file t/05sets.t: this file is strictly > similar to t/04lists.t. It should test sets, not lists. > > Jean Forget
Fixed in https://github.com/jforget/DateTime-Event-Easter Jean Forget
Le Jeu 09 Sep 2004 22:15:47, JFORGET a écrit : Show quoted text
> The patch fixes some documentation bugs. It does not > fix bugs in file t/05sets.t: this file is strictly > similar to t/04lists.t. It should test sets, not lists. > > Jean Forget
Fixed in 1.05 Jean Forget