Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

time display #23

Open
ghost opened this issue Jan 31, 2014 · 5 comments
Open

time display #23

ghost opened this issue Jan 31, 2014 · 5 comments

Comments

@ghost
Copy link

ghost commented Jan 31, 2014

Folks, what you have done here is great- made it so simple to display temp at a remote location.
I was wondering if there is a way of changing the time display to reflect the location (pacific time -8 from GMT).

thanks
julio

@spidie
Copy link

spidie commented Mar 26, 2014

Looks like the API always shows times as UTC

https://xively.com/dev/docs/api/communicating/time_zones/

But you can pass the timezone it to the API - so you should be able to just add this "timezone" parameter in the xively-js file where it calls the API. I'll give it a try.

@ghost
Copy link
Author

ghost commented Mar 26, 2014

Steve,

Thanks…I didn’t realize that it had that parameter available….I’ll play with it

julio

From: Steve Dalton [mailto:[email protected]]
Sent: Tuesday, March 25, 2014 21:48
To: xively/channel-viz
Cc: diazjc
Subject: Re: [channel-viz] time display (#23)

Looks like the API always shows times as UTC

https://xively.com/dev/docs/api/communicating/time_zones/

But you can pass the timezone it to the API - so you should be able to just add this "timezone" parameter in the xively-js file where it calls the API. I'll give it a try.


Reply to this email directly or view it on GitHub #23 (comment) . https://github.com/notifications/beacon/6550729__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxMTQyODQ4MSwiZGF0YSI6eyJpZCI6MjQ3MTY3MTR9fQ==--4a7f581692f2a6c827c795c9674c9f9db91ba280.gif

@spidie
Copy link

spidie commented Mar 26, 2014

I couldn't get it to accept the parameter - although I'm not familiar with the xively-js api so might not be doing it in the right place. From the documentation is seems that it should take timezone from your preferences - but this is obviously not the case.

@ghost
Copy link
Author

ghost commented Mar 26, 2014

Well, thanks for checking. I appreciate the help

julio

From: Steve Dalton [mailto:[email protected]]
Sent: Wednesday, March 26, 2014 03:53
To: xively/channel-viz
Cc: diazjc
Subject: Re: [channel-viz] time display (#23)

I couldn't get it to accept the parameter - although I'm not familiar with the xively-js api so might not be doing it in the right place. From the documentation is seems that it should take timezone from your preferences - but this is obviously not the case.


Reply to this email directly or view it on GitHub #23 (comment) . https://github.com/notifications/beacon/6550729__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxMTQ1MDM1NywiZGF0YSI6eyJpZCI6MjQ3MTY3MTR9fQ==--90b136eae9dd96b6db8cb64072099844fe7f1895.gif

@nrsrapp
Copy link

nrsrapp commented Sep 9, 2014

just checking to see if anyone found a solution
thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants