module
Ruby on Rails latest stable (v7.1.3.2)
-
0 notes
Constants
DATETIME_REGEX = /\A(?:\d{4}-\d{2}-\d{2}|\d{4}-\d{1,2}-\d{1,2}[T \t]+\d{1,2}:\d{2}:\d{2}(\.[0-9]*)?(([ \t]*)Z|[-+]\d{2}?(:\d{2})?)?)\z/
DATE_REGEX = /\A\d{4}-\d{2}-\d{2}\z/