Repository navigation
Update dependency SunCalcNet to 3.1.0 - #724
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.0.1→3.1.0Release Notes
kostebudinoski/SunCalc-Net (SunCalcNet)
v3.1.0Compare Source
Minor release: fixes sun phase times on days the sun only just reaches an angle, and adds
FindTimefor looking up a phase that may not occur. No breaking changes.GetSunPhaseson days the sun only just reaches a phase angle. A twilight or night event could come back hours or even weeks away from its angle. Such events are now omitted when the sun doesn't cross the angle, and found to within a second when it does. Also fixed the single sunrise or sunset that was missing on the first and last day of the midnight sun or polar night. Results on other days are unchanged. Port of SunCalc JS v2.1.2 (https://github.com/mourner/suncalc/releases/tag/v2.1.2).Resolves: mourner/suncalc#191
SunPhaseExtensions.FindTime(name), which returns when a phase occurs as aDateTimeOffset?, ornullwhen it doesn't happen that day.SunPhaseis a struct, soFirstOrDefaulton a missing phase silently returns a year-1 time.If you look up phases with First(...), note that more summer twilight events can now be missing at higher latitudes, so use FindTime or FirstOrDefault for phases other than solar noon and nadir.
Install: dotnet add package SunCalcNet --version 3.1.0 · NuGet (https://www.nuget.org/packages/SunCalcNet/3.1.0)
Configuration
📅 Schedule: (UTC)
* * * * *)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.