Skip to content

Commit

Permalink
VITable: use <= instead of <
Browse files Browse the repository at this point in the history
* Fixes class timings for ending of class

Signed-off-by: Gagan Malvi <[email protected]>
  • Loading branch information
gaganmalvi committed Sep 3, 2021
1 parent 4bea112 commit 7849c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vitable.nim
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ proc classesOngoing() =
var timenow = daynow.format("HH:mm")
var intime = getStr(f["StartTime"])
var outtime = getStr(f["EndTime"])
if timenow > intime and timenow < outtime:
if timenow >= intime and timenow <= outtime:
echo getStr(f["Course_FullName"])
except IOError:
fetchNewTt()
Expand Down

0 comments on commit 7849c18

Please sign in to comment.