diff options
author | Miguel Jacq <mig@mig5.net> | 2019-03-25 15:33:00 +1100 |
---|---|---|
committer | Miguel Jacq <mig@mig5.net> | 2019-03-25 15:33:00 +1100 |
commit | 3a2cd86dedf2520c53cdc4a57b110a4e3130f119 (patch) | |
tree | 3b66cd51c59ffbbc864f35f00a86fcc8dd31dc60 | |
parent | a465ac9700d2f77e6e37d8157f7209403177299a (diff) | |
download | onionshare-3a2cd86dedf2520c53cdc4a57b110a4e3130f119.tar.gz onionshare-3a2cd86dedf2520c53cdc4a57b110a4e3130f119.zip |
include years in the dates from CLI, in case it's a very long timer or perhaps we're crossing into a new year
-rw-r--r-- | onionshare/__init__.py | 8 |
1 files 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")) |