app: parse the release date for the last release.

I was mistakenly using the date of the last check, not the release date.

(cherry picked from commit d5febf6e62)
This commit is contained in:
Jehan
2020-01-02 23:09:23 +01:00
parent 1e76a008c5
commit 621e941bf2
5 changed files with 46 additions and 10 deletions

View File

@ -286,7 +286,7 @@ about_dialog_add_update (GimpAboutDialog *dialog,
g_list_free (children);
/* The preferred localized date representation without the time. */
datetime = g_date_time_new_from_unix_local (config->check_update_timestamp);
datetime = g_date_time_new_from_unix_local (config->last_release_timestamp);
date = g_date_time_format (datetime, "%x");
g_date_time_unref (datetime);