Skip to content

Commit

Permalink
Fix missing project date showing the unix epoch
Browse files Browse the repository at this point in the history
  • Loading branch information
passivestar committed Aug 27, 2024
1 parent db76de5 commit 6ed54ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/project_manager/project_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6ed54ab

Please sign in to comment.