Skip to content

Commit

Permalink
Rip out some more useless stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
FreneticScribbler committed May 27, 2020
1 parent 99255e0 commit 043c352
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 3 additions & 2 deletions PyRIGS/tests/regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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

Expand Down

0 comments on commit 043c352

Please sign in to comment.