hapi-server / uri-templates

Repository of tools for URI templates
Apache License 2.0
2 stars 0 forks source link

verify $y start was implemented #21

Closed jbfaden closed 1 month ago

jbfaden commented 10 months ago

I just noticed in the spec that $y (two-digit-year) has an argument start which can indicate where the 1900/2000 logic should switch (1950-2049 vs 1970-2069). I don't think this was implemented in the Java, Python, and JavaScript versions.

jbfaden commented 1 month ago

This is implemented now and also appears in the unit tests.