Skip to content

Commit

Permalink
[Scheduler] Clarify description of exclusion time
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhelias authored and nicolas-grekas committed Jan 9, 2025
1 parent ec490ca commit 97087fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Trigger/ExcludeTimeTrigger.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function __construct(

public function __toString(): string
{
return sprintf('%s, from: %s, until: %s', $this->inner, $this->from->format(\DateTimeInterface::ATOM), $this->until->format(\DateTimeInterface::ATOM));
return \sprintf('%s, excluding from %s until %s', $this->inner, $this->from->format(\DateTimeInterface::ATOM), $this->until->format(\DateTimeInterface::ATOM));
}

public function getNextRunDate(\DateTimeImmutable $run): ?\DateTimeImmutable
Expand Down

0 comments on commit 97087fe

Please sign in to comment.