Subject: | Changes to Canada Province Codes |
Hello,
The province codes in Data/FormValidator/Constraints.pm seem to be a bit out of date. They're missing Nunavut, which was added in (I believe) 1999, and Newfoundland and Labrador's code changed from NF to NL in 2001.
I've attached a patch which adds these two (leaving NF there as well).
Thanks,
Steve Simms
--- Constraints.pm~ 2004-11-17 17:03:56.000000000 -0500
+++ Constraints.pm 2005-04-09 12:55:50.000000000 -0400
@@ -171,7 +171,7 @@
EOF
my $province = <<EOF;
-AB BC MB NB NF NS NT ON PE QC SK YT YK
+AB BC MB NB NF NL NS NT NU ON PE QC SK YT YK
EOF
=pod