Skip to content

Commit

Permalink
(Clock) Fix 12-h time bug #10
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkeppeler committed Dec 10, 2022
1 parent f0fc3f3 commit 154a53d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import java.time.LocalTime

@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
internal fun isAm(currentTime: LocalTime): Boolean {
return currentTime.hour <= 12
return currentTime.hour < 12
}

@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
Expand Down

0 comments on commit 154a53d

Please sign in to comment.