Skip to content

Commit 2cd364f

Browse files
minor symfony#59233 [Scheduler] Clarify description of exclusion time (maxhelias)
This PR was merged into the 6.4 branch. Discussion ---------- [Scheduler] Clarify description of exclusion time | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | - | License | MIT Before : ![Capture d’écran 2024-12-17 à 10 19 09](https://github.com/user-attachments/assets/d7c9dc11-7af3-42a2-8791-1fb2188f3f2e) After : ![Capture d’écran 2024-12-17 à 10 19 16](https://github.com/user-attachments/assets/53b4a6f0-06de-479d-9d31-d724f10c8d37) Commits ------- cc923ba [Scheduler] Clarify description of exclusion time
2 parents 3ceff1d + cc923ba commit 2cd364f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Scheduler/Trigger/ExcludeTimeTrigger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function __construct(
2323

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

2929
public function getNextRunDate(\DateTimeImmutable $run): ?\DateTimeImmutable

0 commit comments

Comments
 (0)