Skip to content

Commit

Permalink
LiquidPlanner: oops, missed a sprintf
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbs committed Dec 22, 2020
1 parent e805bcd commit 3db3e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Synergy/Reactor/LiquidPlanner.pm
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ sub provide_lp_link ($self, $event) {
if (my $str = fmt_date_field('updated_at')) {
my $updated = DateTime::Format::ISO8601->parse_datetime($item->{updated_at});

$slack .= "*Last updated*: %s (%s)\n",
$slack .= sprintf "*Last updated*: %s (%s)\n",
$str,
concise(ago(time - $updated->epoch, 1));
}
Expand Down

0 comments on commit 3db3e20

Please sign in to comment.