Rip out some more useless stuff

This commit is contained in:
2020-05-27 18:35:40 -04:00
parent 99255e0e93
commit 043c352fba
2 changed files with 3 additions and 5 deletions

View File

@@ -7,9 +7,6 @@ addons:
chrome: stable
before_install:
- export TZ=Europe/London
- export LANG=en_GB.UTF-8
- export LC_ALL=en_GB.UTF-8
- export LANGUAGE=en_GB.UTF-8
install:

View File

@@ -8,6 +8,7 @@ from selenium.webdriver.support.select import Select
from selenium.webdriver.common.keys import Keys
import datetime
def parse_bool_from_string(string):
# Used to convert from attribute strings to boolean values, written after I found this:
# >>> bool("false")
@@ -23,8 +24,8 @@ def parse_bool_from_string(string):
def get_time_format():
# Default
time_format = "%H:%M"
# If system is 12hr FIXME Hack on the CI...
if timezone.now().strftime("%p") or os.environ.get('CI', False):
# If system is 12hr
if timezone.now().strftime("%p"):
time_format = "%I:%M %p"
return time_format