Thread Starter
terado
(@terado)
Ack SORRY… slight bug fix: change the day of week line to read:
$dow = strtolower(date('l', time()+(($day-$today)*86400)));
I had user $unixmonth which is the timestamp of the beginning of the month so it looked into last month accidentally, so now it uses time() instead! Sorry again
Thread Starter
terado
(@terado)
And whilst on it, what you should be replacing is this:
if ($day == gmdate('j', (time() + (get_settings('gmt_offset') * 3600))) && $thismonth == gmdate('m', time()+(get_settings('gmt_offset') * 3600)))
echo '<td id="today">';
else
echo '<td>';
Thread Starter
terado
(@terado)
Yep that’s right, sorry forgot to mention that. Or if you prefer its own style sheet of course.