Skip to content

Commit

Permalink
Small Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
poblabs committed Feb 3, 2019
1 parent 003fcfb commit 626d6c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/user/belchertown.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def get_extension_list(self, timespan, db_lookup):
moment_js_stop_struct = time.localtime( time.time() )
moment_js_utc_offset = (calendar.timegm(moment_js_stop_struct) - calendar.timegm(time.gmtime(time.mktime(moment_js_stop_struct))))/60

# Highcharts UTC offset is the opposite or normal. Positive values are west, negative values are east of UTC. https://api.highcharts.com/highcharts/time.timezoneOffset
# Highcharts UTC offset is the opposite of normal. Positive values are west, negative values are east of UTC. https://api.highcharts.com/highcharts/time.timezoneOffset
# Multiplying by -1 will reverse the number sign and keep 0 (not -0). https://stackoverflow.com/a/14053631/1177153
highcharts_timezoneoffset = moment_js_utc_offset * -1

Expand Down

0 comments on commit 626d6c1

Please sign in to comment.