Skip to content

Commit

Permalink
Fixed Locale Bug
Browse files Browse the repository at this point in the history
Fix:
- "Try/Catch" for setting the locale.
  - Tries US English, then C
  • Loading branch information
jpmck committed May 20, 2018
1 parent 5fd0a81 commit 54d39a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chronometer2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
# SETS LOCALE
# Issue 5: https://github.com/jpmck/chronometer2/issues/5
# Updated to en_US to support
export LC_ALL=en_US.UTF-8
export LC_ALL=en_US.UTF-8 > /dev/null 2>&1 || export LC_ALL=C.UTF-8 > /dev/null 2>&1

chronometer2Version="1.3"
chronometer2Version="1.3.1"

# COLORS
blueColor=$(tput setaf 6)
Expand Down

0 comments on commit 54d39a5

Please sign in to comment.