Skip to content

Commit

Permalink
Fixed that READY timestamps with a later-than-now AFTER timestamp…
Browse files Browse the repository at this point in the history
… would still show up in the work report.
  • Loading branch information
Tom Sydney Kerckhove committed May 8, 2024
1 parent 643478d commit 0339c19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions smos-docs-site/content/unreleased.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

* Fixed that casts weren't showing up on the docs site.
* Fixed that booking would show an error when a quote was used in the organiser name.
* Fixed that `READY` timestamps with a later-than-now `AFTER` timestamp would still show up in the work report.
2 changes: 1 addition & 1 deletion smos-report/src/Smos/Report/Work.hs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ makeIntermediateWorkReport WorkReportContext {..} rp fc =
let go (_, _, tsn, ts) =
let day = timestampDay ts
in case tsn of
"SCHEDULED" -> day <= today
"SCHEDULED" -> day <= today && nowIsAfterAfter
"DEADLINE" -> day <= addDays 7 today && nowIsAfterAfter
"BEGIN" -> False
"END" -> False
Expand Down

0 comments on commit 0339c19

Please sign in to comment.