Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9a9a6ceb42 | |||
| 083940eee3 |
@@ -168,7 +168,7 @@ class Discordian_Date_Widget extends WP_Widget {
|
||||
$mon=$now["mon"];
|
||||
$mday=$now["mday"];
|
||||
$dseason=(int)($yday/73);
|
||||
if ($now["year"]%4==0&&$now["year"]%100!=0 || $now["year"]%400==0)
|
||||
if ($now["year"]%4==0&&$now["year"]%100!=0 || $now["year"]%400==0)
|
||||
if ($now["yday"]>59) $yday=$now["yday"]-1;
|
||||
$dday=($yday-(73*$dseason))+1;
|
||||
$a_holiday=array("Mungday", "Mojoday", "Syaday", "Zaraday", "Maladay");
|
||||
@@ -428,7 +428,7 @@ function ddatefunc_admin() {
|
||||
<br>
|
||||
Examples<br>
|
||||
<br>
|
||||
<b>%EY.%ES.%DC %DT ee (unittime: %UT)</b> <i>(returns: 180.1.5 5:67 ee (unixtime: 1388947033))</i></br>
|
||||
<b>%EY.%ES.%DC %DT ee (unixtime: %UT)</b> <i>(returns: 180.1.5 5:67 ee (unixtime: 1388947033))</i></br>
|
||||
<br>
|
||||
<b>%DW, the %DD day of %DS, in the yold %DY</b> <i>(returns: Setting Orange, the 5th day of Chaos, in the yold 3180)</i><br>
|
||||
<br>
|
||||
|
||||
Reference in New Issue
Block a user