diff options
author | passivestar <60579014+passivestar@users.noreply.github.com> | 2024-08-27 16:03:19 +0400 |
---|---|---|
committer | passivestar <60579014+passivestar@users.noreply.github.com> | 2024-08-27 16:03:19 +0400 |
commit | 6ed54ab9ba0b34b6f5e278d51809d1dd841edc6d (patch) | |
tree | 68c80e9c51aeb0c5cd44f6b44ac9689bc7671fb5 /editor/project_manager | |
parent | db76de5de8a415b29be4c7dd84b99bd0fe260822 (diff) | |
download | redot-engine-6ed54ab9ba0b34b6f5e278d51809d1dd841edc6d.tar.gz |
Fix missing project date showing the unix epoch
Diffstat (limited to 'editor/project_manager')
-rw-r--r-- | editor/project_manager/project_list.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_manager/project_list.cpp b/editor/project_manager/project_list.cpp index 092a6a1a18..541ab01e62 100644 --- a/editor/project_manager/project_list.cpp +++ b/editor/project_manager/project_list.cpp @@ -760,7 +760,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(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_missing(item.missing); |