Module: ActiveRecord::ConnectionAdapters::Column::Format

Defined in:
lib/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_definitions.rb

Constant Summary collapse

ISO_DATE =
/\A(\d{4})-(\d\d)-(\d\d)\z/
ISO_DATETIME =
/\A(\d{4})-(\d\d)-(\d\d) (\d\d):(\d\d):(\d\d)(\.\d+)?\z/