2 Commits

Author SHA1 Message Date
9a9a6ceb42 minor fix 2026-02-02 11:02:19 +03:00
083940eee3 minor fix 2026-02-02 10:53:30 +03:00

View File

@@ -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>