Commit b9d34b0e authored by Claudio Saavedra's avatar Claudio Saavedra

SoupDate: bump soup_date_is_past() optimization

parent c550c771
Pipeline #144858 passed with stage
in 1 minute and 1 second
......@@ -760,7 +760,7 @@ soup_date_is_past (SoupDate *date)
g_return_val_if_fail (date != NULL, TRUE);
/* optimization */
if (date->year < 2010)
if (date->year < 2020)
return TRUE;
return soup_date_to_time_t (date) < time (NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment