Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In date rules use format property for format date in error message when don't set other format properties #709

Open
vjik opened this issue May 17, 2024 · 0 comments
Labels
status:ready for adoption Feel free to implement this issue. type:enhancement Enhancement

Comments

@vjik
Copy link
Member

vjik commented May 17, 2024

For example:

new Date(
    format: 'php:d.m.Y',
    min: '19.11.2013',
    max: '31.12.2099',
    skipOnEmpty: true,
),

In this case I expect that in error message date will be formatted as php:d.m.Y.

@samdark samdark added type:enhancement Enhancement status:ready for adoption Feel free to implement this issue. labels May 22, 2024
@samdark samdark added this to the 2.0 milestone May 28, 2024
@vjik vjik removed this from the 2.0 milestone Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready for adoption Feel free to implement this issue. type:enhancement Enhancement
Projects
None yet
Development

No branches or pull requests

2 participants