visualize.js with token auth and timezone

0

For some reason the timezone parameter when logging in via token in visualize.js is completely ignored. I can set any timezone, I always see UTC times in reports.

Example from JS code:

visualize({
    auth: {
        locale: "en",
        timezone: "Europe/Berlin",
        token: t,
        preAuth: true,
        tokenName: "pp"
    }

If I use basic auth instead of token, then it works correctly, but with token it seems like timezone and locale parameter are ignored.

gamlin's picture
10
Joined: Jul 26 2016 - 6:24am
Last seen: 2 weeks 12 hours ago

1 Answer:

0

Try adding them to your urls on the calls as a workaround.  These should also be able to be passed on any JRS url call.

rmeadows's picture
707
Joined: Feb 10 2016 - 8:00am
Last seen: 1 week 4 hours ago
Feedback
randomness