Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit89de527

Browse files
committed
Merge branch '5.4' into 6.2
* 5.4: [Validator] Fix a valid Date and Time constraint format
2 parents7374f39 +a291585 commit89de527

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎reference/constraints/Date.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Date
22
====
33

44
Validates that a value is a valid date, meaning a string (or an object that can
5-
be cast into a string) that follows a valid ``YYYY-MM-DD`` format.
5+
be cast into a string) that follows a valid ``Y-m-d`` format (e.g. ``'2023-10-18'``).
66

77
========== ===================================================================
88
Applies to:ref:`property or method<validation-property-target>`

‎reference/constraints/Time.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Time
22
====
33

44
Validates that a value is a valid time, meaning a string (or an object that can
5-
be cast into a string) that follows a valid ``HH:MM:SS`` format.
5+
be cast into a string) that follows a valid ``H:i:s`` format (e.g. ``'16:27:36'``).
66

77
========== ===================================================================
88
Applies to:ref:`property or method<validation-property-target>`

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp