Merge pull request #103833 from nobbele/projectmanager-local-time

Make project manager's "last edited" field display use local time instead of UTC
This commit is contained in:
Thaddeus Crews
2025-05-26 11:24:27 -05:00
2 changed files with 11 additions and 1 deletions

View File

@ -993,7 +993,7 @@ void ProjectList::_create_project_item_control(int p_index) {
hb->set_tags(item.tags, this);
hb->set_unsupported_features(item.unsupported_features.duplicate());
hb->set_project_version(item.project_version);
hb->set_last_edited_info(!item.missing ? Time::get_singleton()->get_datetime_string_from_unix_time(item.last_edited, true) : TTR("Missing Date"));
hb->set_last_edited_info(item.get_last_edited_string());
hb->set_is_favorite(item.favorite);
hb->set_is_missing(item.missing);