nus-cs2103-AY2021S1 / pe-dev-response

0 stars 0 forks source link

4 digit country codes #2012

Open nus-se-bot opened 3 years ago

nus-se-bot commented 3 years ago

Users cannot enter 4 digit country codes with seperators

Example code: image.png

To enter country code 1684 with number 12345678, only "168412345678" is accepted, whereas using any delimiters "space, dash, etc" will result in an error.

image.png


[original: nus-cs2103-AY2021S1/pe-interim#1817]

rtshkmr commented 3 years ago

Team's Response

Thank you for your bug report! However, we'd like to direct your attention to our Appendix B, where we indicate the use of a particular internationalised standard, E.164. This indicates that country codes are between 1 to 3 numbers long. Also, the same standard's published documents show that American Samoa has the following 1-digit country code:

image.png

Here's the document

We realise you've used the finder tool we linked to, for further clarity, your screenshot actually shows that the country code is +1 (since American Samoa is under United States of America) and the 684 is part of an integrated numbering system which is why it's separated by - character. TBM supports this behaviour.

We have changed the severity from High to VeryLow as this is a non-issue.

Duplicate status (if any):

--