diff options
author | Andinus <andinus@nand.sh> | 2020-04-24 20:19:39 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-04-24 20:19:39 +0530 |
commit | 6edb082db54d48eb5ff6f5f6203c198ce3fd7a89 (patch) | |
tree | 9a43642679e6c54be9e0a08353f481a9f6fea907 /build/ci/drone.yml | |
parent | 76468d2f514677e2f3a490b6b493d32badfca986 (diff) | |
download | cetus-6edb082db54d48eb5ff6f5f6203c198ce3fd7a89.tar.gz |
Change APOD timezone to UTC - 8
Subtract 8 hours from UTC to ensure program doesn't fail. This still doesn't mean anything, I've emailed them asking about timezone on server but no response :( The server returns "400 Bad Request" when you request future date, so if I request 2020-04-25 on 2020-04-24 23:59 UTC it will return "400 Bad Request" but if I re-request it on 2020-04-25 00:04 UTC it returns "500 Internal Server Error", I think the API server runs on UTC but the program that is responsible for syncing the images is running on a different timezone, which is why it returns "500 Internal Server Error" instead of "400 Bad Request". Hopefully this should work, it will work if the program responsible for syncing images is in or before UTC-8.
Diffstat (limited to 'build/ci/drone.yml')
0 files changed, 0 insertions, 0 deletions