Revert "More fixes for parsing dates in vcalendar on Windows."
[claws.git] / src / plugins / vcalendar / libical / libical / icaltime.c
index 7d3ee1cf685a71ff0f402b4d759f73c2522e5c67..3ca3d9db42cc017c6f7edacf7e34fef331cdb804 100644 (file)
@@ -538,7 +538,7 @@ short icaltime_day_of_year(struct icaltimetype t){
        if (dt == NULL)
                return 1;
 
-       gint doy = g_date_time_get_day_of_year(dt) - 1;
+       gint doy = g_date_time_get_day_of_year(dt);
        g_date_time_unref(dt);
        g_time_zone_unref(zone);