Module: ActiveRecord

Defined in:
lib/validates_as_date_time.rb

Overview

Validation helper for ActiveRecord derived objects that cleanly and simply allows the model to check if the given string is a valid US datetime 11/11/1111 12pm 11/11/1111 1pm 1/11/1111 10:10pm 11/1/1111 01pm 1/1/1111 01:11pm 1/1/1111 1:11pm

11/11/1111 11/11/1111 1/11/1111 11/1/1111 1/1/1111 1/1/1111

Defined Under Namespace

Modules: Validations