Hello, This might have been discussed earlier, but I still find it strange that the
typedef date {
has the timezone as a mandatory part. While I understand the issue that when
a day starts/ends is uncertain without the timezone, in real life people
practically never add the timezone to a date, and it does not cause major
problems. So IMHO following life we should have a simple-date datatype that
does not include any timezone. Actually we do have that datatype just we
called it revision-identifier. Really strange.
I would also consider to tighten up the pattern for
revision-identifier/date/date-and-time.
pattern '\d{4}-(1[0-2]|0[1-9])-(0[1-9]|[1|2][0-9]|3[0-1])';
This would prohibit 2020-16-67 : months > 12 or days > 31
Regards Balazs
--
Balazs Lengyel Senior Specialist
Ericsson Hungary Ltd.
Mobile: +36-70-330-7909 email: [email protected]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
