Skip to content

dep[sunrise]: bump version to 3.0.0#2231

Open
bim9262 wants to merge 1 commit intogreshake:masterfrom
bim9262:polar_sunrise
Open

dep[sunrise]: bump version to 3.0.0#2231
bim9262 wants to merge 1 commit intogreshake:masterfrom
bim9262:polar_sunrise

Conversation

@bim9262
Copy link
Collaborator

@bim9262 bim9262 commented Jan 12, 2026

https://github.com/nathan-osman/rust-sunrise/blob/2e7d1fd5d77ca753bd18ca914594ac391ccbe953/CHANGELOG.md#300

3.0.0

  • SolarDay::event_time now returns None on a polar day if the provided
    event never happens.

On polar days and polar nights, sunrise or sunset may not occur on a given day, and thus the corresponding value may be absent.
This behaviour depends on the weather service used.
For met.no and nws, both sunrise and sunset will be absent on polar days and polar nights, but OpenWeatherMap will show the same time for both sunrise and sunset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant