aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-datetime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/indicator-datetime.c')
-rw-r--r--src/indicator-datetime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c
index 86eeed6..07be8de 100644
--- a/src/indicator-datetime.c
+++ b/src/indicator-datetime.c
@@ -1197,7 +1197,7 @@ month_changed_cb (IdoCalendarMenuItem *ido,
ido_calendar_menu_item_get_date(ido, &y, &m, &d);
struct tm date = {0};
date.tm_mday = d;
- date.tm_mon = m + 1; // Month is always off by one
+ date.tm_mon = m;
date.tm_year = y - 1900;
guint selecteddate = (guint)mktime(&date);
g_debug("Got month changed signal: %s", asctime(&date));