aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gncal-day-panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gncal-day-panel.c')
-rw-r--r--calendar/gncal-day-panel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gncal-day-panel.c b/calendar/gncal-day-panel.c
index 099b02f384..3cf2f57b24 100644
--- a/calendar/gncal-day-panel.c
+++ b/calendar/gncal-day-panel.c
@@ -65,7 +65,7 @@ calendar_day_selected (GtkCalendar *calendar, GncalDayPanel *dpanel)
gtk_calendar_get_date (calendar, &y, &m, &d);
- tm.tm_year = y;
+ tm.tm_year = y - 1900;
tm.tm_mon = m;
tm.tm_mday = d;
tm.tm_hour = 0;