[kronolith] [PATCH] Monthly view: only 5 weeks displayed
Christoph Gysin
cgysin at gmx.ch
Tue May 31 06:56:03 PDT 2005
Hi list
If a month starts with a Sunday and a user configures Monday to be the first
weekday, not the whole months gets displayed.
Examples: May 2005, February 2004.
Proposed patch:
--- horde/kronolith/month.php.orig 2005-05-31 15:45:34.000000000 +0200
+++ horde/kronolith/month.php 2005-05-31 15:45:04.000000000 +0200
@@ -67,6 +67,7 @@
}
} else {
if ($startday == HORDE_DATE_SUNDAY) {
+ $daysInView += 7;
$startOfView = -5;
} else {
$startOfView = 2 - $startday;
Christoph Gysin
--
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org at fr33z3
More information about the kronolith
mailing list