diff options
author | Micah Lee <micah@micahflee.com> | 2019-04-18 19:14:54 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2019-04-18 19:14:54 -0700 |
commit | 20ac3f005c2daeea9c111df5e9f28d875b2c5fee (patch) | |
tree | b8aa80e6296584b2686189734991a541ce267c1e /onionshare_gui | |
parent | 3a2cd86dedf2520c53cdc4a57b110a4e3130f119 (diff) | |
download | onionshare-20ac3f005c2daeea9c111df5e9f28d875b2c5fee.tar.gz onionshare-20ac3f005c2daeea9c111df5e9f28d875b2c5fee.zip |
Update date format
Diffstat (limited to 'onionshare_gui')
-rw-r--r-- | onionshare_gui/server_status.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/onionshare_gui/server_status.py b/onionshare_gui/server_status.py index 9f5b095d..0c51119e 100644 --- a/onionshare_gui/server_status.py +++ b/onionshare_gui/server_status.py @@ -284,13 +284,13 @@ class ServerStatus(QtWidgets.QWidget): self.autostart_timer_container.hide() if self.common.settings.get('autostop_timer'): self.autostop_timer_container.hide() - self.server_button.setToolTip(strings._('gui_stop_server_autostop_timer_tooltip').format(self.autostop_timer_widget.dateTime().toString("H:mmAP, MMM dd, yy"))) + self.server_button.setToolTip(strings._('gui_stop_server_autostop_timer_tooltip').format(self.autostop_timer_widget.dateTime().toString("h:mm AP, MMMM dd, yyyy"))) elif self.status == self.STATUS_WORKING: self.server_button.setStyleSheet(self.common.css['server_status_button_working']) self.server_button.setEnabled(True) if self.autostart_timer_datetime: self.autostart_timer_container.hide() - self.server_button.setToolTip(strings._('gui_start_server_autostart_timer_tooltip').format(self.autostart_timer_widget.dateTime().toString("H:mmAP, MMM dd, yy"))) + self.server_button.setToolTip(strings._('gui_start_server_autostart_timer_tooltip').format(self.autostart_timer_widget.dateTime().toString("h:mm AP, MMMM dd, yyyy"))) else: self.server_button.setText(strings._('gui_please_wait')) if self.common.settings.get('autostop_timer'): @@ -301,7 +301,7 @@ class ServerStatus(QtWidgets.QWidget): self.server_button.setText(strings._('gui_please_wait')) if self.common.settings.get('autostart_timer'): self.autostart_timer_container.hide() - self.server_button.setToolTip(strings._('gui_start_server_autostart_timer_tooltip').format(self.autostart_timer_widget.dateTime().toString("H:mmAP, MMM dd, yy"))) + self.server_button.setToolTip(strings._('gui_start_server_autostart_timer_tooltip').format(self.autostart_timer_widget.dateTime().toString("h:mm AP, MMMM dd, yyyy"))) if self.common.settings.get('autostop_timer'): self.autostop_timer_container.hide() |