From 3a2cd86dedf2520c53cdc4a57b110a4e3130f119 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Mon, 25 Mar 2019 15:33:00 +1100 Subject: include years in the dates from CLI, in case it's a very long timer or perhaps we're crossing into a new year --- onionshare/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/onionshare/__init__.py b/onionshare/__init__.py index d2cc7092..db97f46d 100644 --- a/onionshare/__init__.py +++ b/onionshare/__init__.py @@ -153,16 +153,16 @@ def main(cwd=None): print(strings._('receive_mode_warning')) print('') if stealth: - print(strings._("give_this_scheduled_url_receive_stealth").format(schedule.strftime("%b %d, %I:%M:%S%p"))) + print(strings._("give_this_scheduled_url_receive_stealth").format(schedule.strftime("%I:%M:%S%p, %b %d, %y"))) print(app.auth_string) else: - print(strings._("give_this_scheduled_url_receive").format(schedule.strftime("%b %d, %I:%M:%S%p"))) + print(strings._("give_this_scheduled_url_receive").format(schedule.strftime("%I:%M:%S%p, %b %d, %y"))) else: if stealth: - print(strings._("give_this_scheduled_url_share_stealth").format(schedule.strftime("%b %d, %I:%M:%S%p"))) + print(strings._("give_this_scheduled_url_share_stealth").format(schedule.strftime("%I:%M:%S%p, %b %d, %y"))) print(app.auth_string) else: - print(strings._("give_this_scheduled_url_share").format(schedule.strftime("%b %d, %I:%M:%S%p"))) + print(strings._("give_this_scheduled_url_share").format(schedule.strftime("%I:%M:%S%p, %b %d, %y"))) print(url) print('') print(strings._("waiting_for_scheduled_time")) -- cgit v1.2.3-54-g00ecf