Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Added timezone to latest speedtest API response #1377

Conversation

alexjustesen
Copy link
Owner

@alexjustesen alexjustesen commented Apr 13, 2024

📃 Description

This PR adds display timezone to the /speedtest/latest API response. Expands on the work started in #1070.

Before

{
    "message":"ok",
    "data":{
        "id":1,
        "created_at":"2024-04-10T01:41:12.000000+00:00",
        "updated_at":"2024-04-10T01:41:33.000000+00:00"
    }
}

After

{
    "message":"ok",
    "data":{
        "id":1,
        "created_at":"2024-04-09T21:41:12.000000-04:00",
        "updated_at":"2024-04-09T21:41:33.000000-04:00"
    }
}

🪵 Changelog

🔧 Fixed

  • added display timezone to latest speedtest API response

@alexjustesen alexjustesen added the 🐛 bug Something isn't working label Apr 13, 2024
@alexjustesen alexjustesen self-assigned this Apr 13, 2024
@alexjustesen alexjustesen linked an issue Apr 13, 2024 that may be closed by this pull request
@alexjustesen alexjustesen merged commit d02452d into main Apr 13, 2024
2 checks passed
@alexjustesen alexjustesen deleted the 1375-timedate-doesnt-seem-to-respect-timezone-in-api-requests branch April 13, 2024 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Time/date doesn't seem to respect timezone in API requests
1 participant