03-16-2018 05:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-16-2018 05:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Somebody please help...my forehead is bruised at this point.
There is a glitch in the Ionic Date() function where, if called from the Ionic, does not return the very last part (EDT) or (PST), however, the companion does.
Inside my companion/index.js
messaging.peerSocket.onopen = () => { console.log("Companion Socket Open"); console.log(new Date().toString().match(/\(([A-Za-z\s].*)\)/)[1]); restoreSettings(); };
logs the correct info.
What I can't figure out is how to get that result back to the ionic. Can someone point me in the right direction?
Thanks!
Answered! Go to the Best Answer.

Accepted Solutions
03-16-2018 11:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-16-2018 11:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I figured out a work around...

03-16-2018 11:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-16-2018 11:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I figured out a work around...

