summaryrefslogtreecommitdiff
path: root/onionshare_gui
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2018-02-13 17:20:10 -0800
committerMicah Lee <micah@micahflee.com>2018-02-13 17:20:10 -0800
commite20e8d5181f772b77aa05ec94663fdbce5d850de (patch)
tree6bcc51b237034e46679fdc5e913fb6d418b3d1a7 /onionshare_gui
parentafc9568f30b45a838192f1654f06485c38fb28b7 (diff)
downloadonionshare-e20e8d5181f772b77aa05ec94663fdbce5d850de.tar.gz
onionshare-e20e8d5181f772b77aa05ec94663fdbce5d850de.zip
Switch to 12 hour clock
Diffstat (limited to 'onionshare_gui')
-rw-r--r--onionshare_gui/server_status.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/onionshare_gui/server_status.py b/onionshare_gui/server_status.py
index c292d207..a2701e6a 100644
--- a/onionshare_gui/server_status.py
+++ b/onionshare_gui/server_status.py
@@ -51,7 +51,7 @@ class ServerStatus(QtWidgets.QWidget):
self.shutdown_timeout_label = QtWidgets.QLabel(strings._('gui_settings_shutdown_timeout', True))
self.shutdown_timeout = QtWidgets.QDateTimeEdit()
# Set proposed timeout to be 5 minutes into the future
- self.shutdown_timeout.setDisplayFormat("HH:mm A MMM d, yy")
+ self.shutdown_timeout.setDisplayFormat("hh:mm A MMM d, yy")
self.shutdown_timeout.setDateTime(QtCore.QDateTime.currentDateTime().addSecs(300))
# Onion services can take a little while to start, so reduce the risk of it expiring too soon by setting the minimum to 2 min from now
self.shutdown_timeout.setMinimumDateTime(QtCore.QDateTime.currentDateTime().addSecs(120))