We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f0aa6a commit 3ff6c62Copy full SHA for 3ff6c62
src/windows/main_window.py
@@ -2907,10 +2907,11 @@ def populate_restore_menu(self):
2907
try:
2908
timestamp = int(file_name.split("-", 1)[0])
2909
friendly_time = self.time_ago_string(timestamp)
2910
+ full_datetime = datetime.fromtimestamp(timestamp).strftime('%b %d, %H:%M')
2911
file_path = os.path.join(recovery_dir, file_name)
2912
- # Add each recovery file
2913
- new_action = self.restore_menu.addAction(friendly_time)
+ # Add each recovery file with a tooltip
2914
+ new_action = self.restore_menu.addAction(f"{friendly_time} ({full_datetime})")
2915
new_action.triggered.connect(functools.partial(self.restore_version_clicked, file_path))
2916
except ValueError:
2917
continue
0 commit comments