Skip to contents

Generate a regular expression matching an ISO8601 week date with time

Usage

pattern_ISO8601_week_datetime(truncated = 0, ...)

Arguments

truncated

Should the date/time be allowed to be truncated? An integer indicating the highest required precision (0=second is required, 1=minute, 2=hour, 3=day, 4=week, 5=year, 6=none). A value of 6 will allow an empty string to match.

...

Passed to pattern_ISO8601_week_date() and pattern_ISO8601_time()