Skip to content

[2.2] [Validator] After and Before Date In Validator #3640

Closed
@patrick-mcdougle

Description

@patrick-mcdougle

Enhancement: Extend the Date and DateTime validators to have options for before and after. It would be awesome if you could do

/*
* @Assert\Date(before = "9/31/2015", after = 'today')
*/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions