Skip to content

Commit

Permalink
fix scheduling bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SebRollen committed Jul 8, 2021
1 parent 27eee85 commit 9f34777
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "order-manager"
version = "6.1.0"
version = "6.1.1"
authors = ["Sebastian Rollen <seb@overmu.se>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion src/manager/intents.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ impl PositionIntentExt for PositionIntent {

fn is_active(&self) -> bool {
if let Some(dt) = self.after {
dt >= Utc::now()
dt <= Utc::now()
} else {
true
}
Expand Down

0 comments on commit 9f34777

Please sign in to comment.