regula icon indicating copy to clipboard operation
regula copied to clipboard

Support UTC and other supported formats in `@Past` and `@Future`

Open vivin opened this issue 9 years ago • 0 comments

In addition to the MDY, YMD, and DMY formats, we'll have to support "wire format" as well. This way @Past and @Future could be used with date, time, and datetime elements.

MDY and friends specify the format of the date as it must be parsed as well as the format of the constraint value as specified in @Past and @Future. When using the "wire format" the values to @Past and @Future must be specified using the "wire format" as well. This may end up being a little cumbersome so further research is required.

vivin avatar Aug 04 '14 23:08 vivin