Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: Improve time selection, add ifs0.4° deprecation note #344

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</p>
<div class="d-grid gap-2 d-sm-flex justify-content-sm-center">
<a href="/en/features" class="btn btn-primary btn-lg px-4 me-sm-3 mr-2">Features</a>
<a href="/en/docs" class="btn btn-outline-light btn-lg px-4">Documentation</a>
<a href="/en/docs" class="btn btn-outline-light btn-lg px-4">Try the API here!</a>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/en/docs/ecmwf-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@
{/each}
<div class="col-md-12">
<small class="text-muted"
>Note: IFS in 0.4° resolution will be discontinued in the future.</small
>Note: IFS in 0.4° resolution will be discontinued on 27th November 2024.</small
>
</div>
</AccordionItem>
Expand Down
6 changes: 6 additions & 0 deletions src/routes/en/docs/historical-forecast-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,12 @@
($params.start_date = '2023-01-01'), ($params.end_date = '2023-12-31')
)}>2023</button
>
<button
class="btn btn-outline-primary btn-sm"
on:click|preventDefault={() => (
($params.start_date = '2024-01-01'), ($params.end_date = endDate)
)}>2024</button
>
</p>
</div>
</div>
Expand Down
16 changes: 14 additions & 2 deletions src/routes/en/docs/historical-weather-api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -279,13 +279,13 @@
class="btn btn-outline-primary btn-sm"
on:click|preventDefault={() => (
($params.start_date = '2000-01-01'), ($params.end_date = '2009-12-31')
)}>2000-2010</button
)}>2000-2009</button
>
<button
class="btn btn-outline-primary btn-sm"
on:click|preventDefault={() => (
($params.start_date = '2010-01-01'), ($params.end_date = '2019-12-31')
)}>2010-2022</button
)}>2010-2019</button
>
<button
class="btn btn-outline-primary btn-sm"
Expand All @@ -305,6 +305,18 @@
($params.start_date = '2022-01-01'), ($params.end_date = '2022-12-31')
)}>2022</button
>
<button
class="btn btn-outline-primary btn-sm"
on:click|preventDefault={() => (
($params.start_date = '2023-01-01'), ($params.end_date = '2023-12-31')
)}>2023</button
>
<button
class="btn btn-outline-primary btn-sm"
on:click|preventDefault={() => (
($params.start_date = '2024-01-01'), ($params.end_date = endDate)
)}>2024</button
>
</p>
</div>
</div>
Expand Down