Skip to content

Commit b70871e

Browse files
patel-vanshCopilot
andcommitted
docs: Update some wording
Co-authored-by: Copilot <[email protected]>
1 parent 1221848 commit b70871e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • user_guide_src/source/libraries/time

user_guide_src/source/libraries/time/045.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
// If the time is between the two times, it will return the time itself.
88
echo $time->clamp('April 25, 2026 5:00:00pm UTC', 'April 25, 2026 7:00:00pm UTC')->toDateTimeString(); // 2026-04-25 17:46:00
99

10-
// If the time is before the minimum time, it will return new instance of minimum time.
10+
// If the time is before the start time, it will return new instance of start time.
1111
echo $time->clamp('April 25, 2026 6:05:00pm UTC', 'April 25, 2026 9:20:00pm UTC')->toDateTimeString(); // 2026-04-25 18:05:00
1212

13-
// If the time is after the maximum time, it will return new instance of maximum time.
13+
// If the time is after the end time, it will return new instance of end time.
1414
echo $time->clamp('April 25, 2026 3:40:00pm UTC', 'April 25, 2026 5:00:00pm UTC')->toDateTimeString(); // 2026-04-25 17:00:00

0 commit comments

Comments
 (0)