Skip to content

README.md: fix determination of night time#10

Open
xypron wants to merge 1 commit intotum-esi:masterfrom
xypron:night
Open

README.md: fix determination of night time#10
xypron wants to merge 1 commit intotum-esi:masterfrom
xypron:night

Conversation

@xypron
Copy link

@xypron xypron commented Aug 1, 2024

t.h > 22 && t.h < 6 is always false.
To determine if it is night use t.h > 22 || t.h < 6.

t.h > 22 && t.h < 6 is always false.
To determine if it is night use t.h > 22 || t.h < 6.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
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