DatePicker and unique: Format is ignored.
I have a DatePicker with the following methods:
The
The problem is, that the unique rule never hits, because the generated query (checked it in telescope) is the following:
The
published_at field is just a date SQL column (without time). In the form, I wanna see and save the date in Y-m-d format, which is working. The problem is, that the unique rule never hits, because the generated query (checked it in telescope) is the following: