Remove old FIXME

This commit is contained in:
apio 2022-10-30 20:40:53 +01:00
parent f83c78bcad
commit 45f40a31d6

View File

@ -77,7 +77,7 @@ static void time_to_struct_tm(time_t time, struct tm* result)
result->tm_year = year - 1900;
result->tm_mon = month + 1;
result->tm_yday = make_yday(year, month + 1) + day; // FIXME: Support tm_wday.
result->tm_yday = make_yday(year, month + 1) + day;
result->tm_wday = day_of_week(year, month + 1, day + 1);
result->tm_mday = day + 1;
result->tm_hour = hour;