> But there's a conflict between several expanded formats: > �_C_CCYYMMDD (>= 9 digits) > �_C_CCYYDDD (>=8 digits) > �_C_CCYY (>= 5 digits) > �_C_CC (>= 3 digits) > unless you specify the number of digits used for the year/century.
The judgment call I've made for DT::F::ISO8601 is expanded formats are only supported with 6 digit years unless a precision for years/centuries is specified. > But then, being able to specify the set of ISO formats used might be > essential for parsers that use the ISO parser for some formats. Can you give an example of how this might be useful? If someone wants to say "only parse this format" they can use strptime. > (NB: I used CC for "century", i.e. year div 100, whereas the ISO > standard uses YY, which is very confusing with formats like "CC".) Unfortunately not the only confusing thing in the standard. -J --
