Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change regular expression to make Autotune work in Firefox #3562

Merged
merged 1 commit into from
May 18, 2018
Merged

Change regular expression to make Autotune work in Firefox #3562

merged 1 commit into from
May 18, 2018

Conversation

philipgo
Copy link
Contributor

@philipgo philipgo commented May 9, 2018

This change in the regular expression searching for the timezone offset was required to make Autotune work in Firefox at all.
Firefox reports now as Tue May 08 2018 20:31:03 GMT+0200 while Chrome reports it as Tue May 08 2018 20:18:25 GMT+0200 (Mitteleuropäische Sommerzeit) including the name of the time zone, which causes an error using the old regular expression.
On a side note, I could not find where the result of this gets used at all, and since moment-timezone provides much more elegant ways to perform conversions between time zones, it may be possilble to remove these lines entirely.

@sulkaharo sulkaharo merged commit 91468b8 into nightscout:autotune May 18, 2018
rumil added a commit to rumil/cgm-remote-monitor that referenced this pull request Nov 30, 2018
* upstream/autotune: (77 commits)
  Update history.js (nightscout#3562)
  Change min_5m_carbimpact from 3 to 8 (nightscout#3563)
  Use new id if received one is invalid.
  npm update / mongo fix / small fixes (nightscout#3413)
  update dutch language. reapply nightscout#3405 to dev
  update docs to reflect changes in alexa backend requiring SSL type selection
  english translation was ok, fixing extra space in dutch translation
  Change Reporting screen default to "newest on top"
  Fix "dispalyed" typo
  Revert removing forever (apologies; must have tested the the wrong branch in Heroku, leading me to think it's auto-injected if needed).
  de fix
  Removed git-rev due to unclear benefit. Removed unused dependencies.
  Italian Language (nightscout#3244)
  Add "Views" section (nightscout#3211)
  if no value, return 0 (nightscout#3332)
  Fix PUMP_WARN_ON_SUSPEND in README.md
  Fix Mongo connection string test
  Update Mongo Driver to 3.0 series and have it retry connecting to Mongo in case the socket goes down for much longer
  update russian (nightscout#3209)
  Add "Check for Updates" link (nightscout#3206)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants