diff --git a/.travis.yml b/.travis.yml index 486d7fa13..8f9da3990 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/PyRIGS/tests/regions.py b/PyRIGS/tests/regions.py index 9fcb9f819..a4ac9253f 100644 --- a/PyRIGS/tests/regions.py +++ b/PyRIGS/tests/regions.py @@ -8,6 +8,7 @@ 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