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

day skipped when querying a date range straddling 2 years #6

Open
jnioche opened this issue Dec 2, 2023 · 2 comments
Open

day skipped when querying a date range straddling 2 years #6

jnioche opened this issue Dec 2, 2023 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@jnioche
Copy link
Owner

jnioche commented Dec 2, 2023

Currently goes straight from

2022-12-31 23:00:00

to

2023-01-02 22:30:00

@jnioche jnioche added the bug Something isn't working label Dec 2, 2023
@jnioche jnioche changed the title day skipped when querying a date straddling 2 years day skipped when querying a date range straddling 2 years Dec 3, 2023
@jnioche
Copy link
Owner Author

jnioche commented Dec 3, 2023

bug with the carbon API itself

curl "https://api.carbonintensity.org.uk/regional/intensity/2022-12-28T00:01Z/2023-01-07T00:01Z/postcode/bs7" | jq

does not go beyond

 {
        "from": "2022-12-31T23:00Z",
        "to": "2022-12-31T23:30Z",
        "intensity": {
          "forecast": 190,
          "index": "moderate"
        },

@jnioche
Copy link
Owner Author

jnioche commented Dec 3, 2023

Mostly fixed in 200eb35
Missing a 30 mins slot

@jnioche jnioche added the help wanted Extra attention is needed label Dec 7, 2023
xoen added a commit that referenced this issue Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant