#tomgullen_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1267422397301002286
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! I'm trying to update the trial end date to 2 years in the future, but get this error response
The difference between the date I'm trying to set, and the current date is 729.99 days (less than 730)
hi! hmm, let me have a look.
Thank you, it's causing issues on our website - I think this might be a bug in the api
ah you're using a TestClock where the frozen time is 2024-07-29 09:49:13 UTC
and the timesamp you pass for the trial is 2026-07-29 09:49:24 UTC so ~10 seconds more than two years.
Can you just give me a second to create a better example? The issue happens on our live site also
Doh, seems to work just fine - perhaps this is an issue with timezones?
I think I'm losing/gaining an hour somewhere along the way, will look into it
Thanks for your help
yep probably a timezone or daylight savings issue; in our API timestamps are always interpreted as UTC in any case