diff --git a/UI/Scheduler/English.lproj/Localizable.strings b/UI/Scheduler/English.lproj/Localizable.strings
index dd5321bf6..3237da11f 100644
--- a/UI/Scheduler/English.lproj/Localizable.strings
+++ b/UI/Scheduler/English.lproj/Localizable.strings
@@ -37,6 +37,8 @@
"this month" = "this month";
"Previous Month" = "Previous Month";
"Next Month" = "Next Month";
+/* Week number prefix */
+"W" = "W";
/* Year */
"this year" = "this year";
diff --git a/UI/Scheduler/French.lproj/Localizable.strings b/UI/Scheduler/French.lproj/Localizable.strings
index 19832b8c1..536268822 100644
--- a/UI/Scheduler/French.lproj/Localizable.strings
+++ b/UI/Scheduler/French.lproj/Localizable.strings
@@ -37,6 +37,8 @@
"this month" = "ce mois";
"Previous Month" = "Mois précédent";
"Next Month" = "Mois suivant";
+/* Week number prefix */
+"W" = "S";
/* Year */
"this year" = "Cette année";
diff --git a/UI/Scheduler/UIxCalMonthView.m b/UI/Scheduler/UIxCalMonthView.m
index 1c8757318..ac4a86586 100644
--- a/UI/Scheduler/UIxCalMonthView.m
+++ b/UI/Scheduler/UIxCalMonthView.m
@@ -234,6 +234,19 @@
return daysNumbersToDisplay[i];
}
+- (BOOL) isFirstDayOfWeek {
+ return 0 == [currentWeek indexOfObject: currentTableDay];
+}
+
+- (int) currentWeekNumber
+{
+ SOGoUser *user;
+
+ user = [context activeUser];
+
+ return [user weekNumberForDate: currentTableDay];
+}
+
- (void) setCurrentWeek: (NSArray *) newCurrentWeek
{
ASSIGN (currentWeek, newCurrentWeek);
diff --git a/UI/Templates/SchedulerUI/UIxCalMonthView.wox b/UI/Templates/SchedulerUI/UIxCalMonthView.wox
index ffc481052..5595a3212 100644
--- a/UI/Templates/SchedulerUI/UIxCalMonthView.wox
+++ b/UI/Templates/SchedulerUI/UIxCalMonthView.wox
@@ -89,6 +89,12 @@
var:sg-day="currentTableDay.shortDateString"
var:sg-day-number="currentDayNumber"
var:sg-day-string="currentTableDay.iso8601DateString">
+
+