Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0f30af98 authored by Manuel Schölling's avatar Manuel Schölling Committed by Mike Snitzer
Browse files

dm: use time_in_range() and time_after()



To be future-proof and for better readability the time comparisons are modified
to use time_in_range() and time_after() instead of plain, error-prone math.

Signed-off-by: default avatarManuel Schölling <manuel.schoelling@gmx.de>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 3ca5a21a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment