Skip to content

Commit

Permalink
Plus means '+', not '-'..
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Bruijnzeels committed Nov 5, 2021
1 parent 3b94ff2 commit cc56e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commons/api/ca.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1895,7 +1895,7 @@ impl Timestamp {
}

pub fn plus_seconds(self, seconds: i64) -> Self {
self - Duration::seconds(seconds)
self + Duration::seconds(seconds)
}

pub fn now_minus_seconds(seconds: i64) -> Self {
Expand Down

0 comments on commit cc56e85

Please sign in to comment.