From: Alexander R. <al...@sp...> - 2014-05-16 09:16:27
|
Hey there, I just now discovered, the dateElementParser in ISODateTimeFormat allows for years, which are not composed of at least four digits. I do not have access to the ISO standard, but reading wikipedia (which might not be right) states: ISO 8601 prescribes, as a minimum, a four-digit year [YYYY] to avoid the year 2000 problem. Still, you can get a number like '5' parsed as a valid year. Likely being wildly wrong here, but I guess this is supposed to work like that? Is there an option to make it more strict and force people to write 0005 or am I better off implementing that myself? Thanks for any help and hints! --Alex |