Ensures the field under validation is a valid date. The value can be a date object or a valid date string.

If value is a string, it will be processed using new Date(givenString).

const rules = {
  login_at: 'date'

// or
const rules = {
  login_at: [

For customized build, you can import this rule as follows.

import { date } from 'indicative/builds/validations'