Fix birthdays.t

        Patch by szabgab. 

diffs (27 lines):

diff -r 8647cff10862 -r 497dabd42b7e cgi-bin/LJ/User.pm
--- a/cgi-bin/LJ/User.pm        Sun Aug 30 08:32:25 2009 +0000
+++ b/cgi-bin/LJ/User.pm        Sun Aug 30 15:03:26 2009 +0000
@@ -2737,7 +2737,7 @@ sub next_birthdays {
 
 # opt_showbday options
 # F - Full Display of Birthday
-# D - Only Show Month/Day
+# D - Only Show Month/Day       DEFAULT
 # Y - Only Show Year
 # N - Do not display
 sub opt_showbday {
diff -r 8647cff10862 -r 497dabd42b7e t/birthday.t
--- a/t/birthday.t      Sun Aug 30 08:32:25 2009 +0000
+++ b/t/birthday.t      Sun Aug 30 15:03:26 2009 +0000
@@ -175,9 +175,9 @@ sub run_tests {
                                 $isok = 1;
                             }
                         } elsif ($year eq '1979') {
-                            if ($month eq '01' && $day eq '31' && $rv eq 
'1979-01-31') {
+                            if ($month eq '01' && $day eq '31' && $rv eq 
'01-31') {
                                 $isok = 1;
-                            } elsif (($month eq '00' || $day eq '00') && $rv 
eq '1979') {
+                            } elsif (($month eq '00' || $day eq '00') && $rv 
eq '') {
                                 $isok = 1;
                             }
                         }
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to