summary refs log tree commit diff stats
path: root/includes/specialdates.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/specialdates.php')
-rwxr-xr-xincludes/specialdates.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/includes/specialdates.php b/includes/specialdates.php index d5706cf..4c774a7 100755 --- a/includes/specialdates.php +++ b/includes/specialdates.php
@@ -206,13 +206,12 @@ function sd_easter()
206 $nWD = sd_date('N',$ys); 206 $nWD = sd_date('N',$ys);
207 if ($nWD==7) {$nWD=0;} 207 if ($nWD==7) {$nWD=0;}
208 $ys+=(60*60*24*(7-$nWD)); 208 $ys+=(60*60*24*(7-$nWD));
209 $ys-=(60*60*24);
210 sd_solar_annual('Easter',sd_date('m',$ys),sd_date('j',$ys)); 209 sd_solar_annual('Easter',sd_date('m',$ys),sd_date('j',$ys));
211 $ys-=(60*60*24*46); 210 $ys-=(60*60*24*47);
212 sd_solar_annual('Mardi Gras',sd_date('m',$ys),sd_date('j',$ys)); 211 sd_solar_annual('Mardi Gras',sd_date('m',$ys),sd_date('j',$ys));
213 $ys+=(60*60*24); 212 $ys+=(60*60*24);
214 sd_solar_annual('Ash Wednesday',sd_date('m',$ys),sd_date('j',$ys)); 213 sd_solar_annual('Ash Wednesday',sd_date('m',$ys),sd_date('j',$ys));
215 $ys+=(60*60*24*38); 214 $ys+=(60*60*24*39);
216 sd_solar_annual('Palm Sunday',sd_date('m',$ys),sd_date('j',$ys)); 215 sd_solar_annual('Palm Sunday',sd_date('m',$ys),sd_date('j',$ys));
217 $ys+=(60*60*24*5); 216 $ys+=(60*60*24*5);
218 sd_solar_annual('Good Friday',sd_date('m',$ys),sd_date('j',$ys)); 217 sd_solar_annual('Good Friday',sd_date('m',$ys),sd_date('j',$ys));