module
v7.0.0 -
Show latest stable
-
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/