Skip to content

Commit c891d1a

Browse files
jasonvargaclaude
andauthored
[6.x] Include missing time chars in DateFormat::containsTime (#14555)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent f2d34e7 commit c891d1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Support/DateFormat.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ class DateFormat
66
{
77
public static function containsTime($format)
88
{
9-
return Str::contains($format, ['G', 'g', 'H', 'h', 'U', 'c', 'r']);
9+
return Str::contains($format, ['a', 'A', 'B', 'g', 'G', 'h', 'H', 'i', 's', 'u', 'v', 'U', 'c', 'r']);
1010
}
1111
}

0 commit comments

Comments
 (0)