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

Defined in:
activerecord/lib/active_record/connection_adapters/column.rb

Constant Summary

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/