Skip to content

Commit 4b8314d

Browse files
authored
Update timer duration examples in documentation
Expanded the examples of time specifications for clarity.
1 parent a57d159 commit 4b8314d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/features/timers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class MyWorkflow extends Workflow
2727
}
2828
```
2929

30-
You may also specify the time to wait as a string e.g. '5 seconds' or '30 minutes'.
30+
You may also specify the time to wait as a string e.g. '5 seconds', '30 minutes' or even '3 days'. Laravel Workflow can handle any duration.
3131

3232
**Important:** When using timers, do not use `Carbon::now()` to get the current time. Instead, use `WorkflowStub::now()`, which returns the current time as seen by the workflow system. This is crucial because the actual time may not match your application's system clock.
3333

0 commit comments

Comments
 (0)