Fix missing project date showing the unix epoch
This commit is contained in:
parent
db76de5de8
commit
6ed54ab9ba
1 changed files with 1 additions and 1 deletions
|
@ -760,7 +760,7 @@ void ProjectList::_create_project_item_control(int p_index) {
|
||||||
hb->set_tags(item.tags, this);
|
hb->set_tags(item.tags, this);
|
||||||
hb->set_unsupported_features(item.unsupported_features.duplicate());
|
hb->set_unsupported_features(item.unsupported_features.duplicate());
|
||||||
hb->set_project_version(item.project_version);
|
hb->set_project_version(item.project_version);
|
||||||
hb->set_last_edited_info(Time::get_singleton()->get_datetime_string_from_unix_time(item.last_edited, true));
|
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_is_favorite(item.favorite);
|
hb->set_is_favorite(item.favorite);
|
||||||
hb->set_is_missing(item.missing);
|
hb->set_is_missing(item.missing);
|
||||||
|
|
Loading…
Reference in a new issue