From 039d52938541e3b531c1082890635b2dbc019052 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sun, 21 Nov 2010 18:40:37 -0500 Subject: [PATCH] Fix off by one error, some phpdoc --- kronolith/js/mobile.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/kronolith/js/mobile.js b/kronolith/js/mobile.js index dc1c0990c..7eae72fd9 100644 --- a/kronolith/js/mobile.js +++ b/kronolith/js/mobile.js @@ -6,11 +6,11 @@ * See the enclosed file COPYING for license information (GPL). If you * did not receive this file, see http://www.fsf.org/copyleft/gpl.html. * - * @author Michael J. Rubinsky + * @author Michael J. Rubinsky * @author Jan Schneider * @category Horde * @license http://www.fsf.org/copyleft/gpl.html GPL - * @package Kronolith + * @package Kronolith */ var KronolithMobile = { @@ -56,9 +56,9 @@ /** * Load all events between start and end time. * - * @param Date start - * @param Date end - * @param string view The view we are loading for (month, day) + * @param Date firstDay + * @param Date lastDay + * @param string view The view we are loading for (month, day) */ loadEvents: function(firstDay, lastDay, view) { @@ -306,7 +306,7 @@ case 2: // Weekly recur = Kronolith.text.recur.desc[e.r.t][(e.r.i > 1) ? 1 : 0]; - recur = recur.replace('#{weekday}', Kronolith.text.weekday[e.r.d - 1]); + recur = recur.replace('#{weekday}', Kronolith.text.weekday[e.r.d]); recur = recur.replace('#{interval}', e.r.i); t.append($('
').addClass('kronolithEventDetailRecurring').append(recur)); break; -- 2.11.0