#caroline0

1 messages · Page 1 of 1 (latest)

sour vesselBOT
hexed coral
#

So I think the portal uses the timezone of your account

#

But all timestamps in our api are in UTC

#

So unless you convert the timestamp to your local timezone it will be a bit off

reef furnace
#

is there a way to pull the account's timezone from stripe?

#

is the account's timezone established when you create an account?

#

how is it determined?

hexed coral
#

Actually it might use the timezone of the customer (based on their browser)

#

Trying to confirm right now

#

But either way, all timestamps are in UTC in our api, so you'll need to convert them if you don't want them in utc

reef furnace
#

ok sounds good! yeah just trying to get the timezones to match however they're being calculated

#

I can pull it from the browser

hexed coral
#

Yeah that would be for everything in your account dashboard

reef furnace
#

oohh I see, but it might be different for the portal

hexed coral
#

But I do think customer portal actually uses the customer's timezone in the browser

#

Yeah

#

Recommend changing your timezone to test this out. I can't actually find this documented anywhere