Skip to content

Commit

Permalink
Fixed isSunrise
Browse files Browse the repository at this point in the history
  • Loading branch information
seldon1000 committed Jan 22, 2023
1 parent 98476c7 commit 2435c1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion Sources/SunKit/Sun.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public class Sun {
}

public var isSunrise: Bool {
date >= firstLight && date <= lastLight
date >= firstLight && date <= sunrise
}

public var isSunset: Bool {
Expand Down

0 comments on commit 2435c1a

Please sign in to comment.