mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-28 08:49:30 -05:00
include years in the dates from CLI, in case it's a very long timer or perhaps we're crossing into a new year
This commit is contained in:
parent
a465ac9700
commit
3a2cd86ded
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user