Closed emxsys closed 3 years ago
Consider using Template strings for user-supplied format strings: https://docs.python.org/3/library/string.html#template-strings
Updated phone number formatting to use a common formatting method that uses configurable settings.
app.cfg.example
# PHONE_DISPLAY_SEPARATOR: Specify the character used to format phone numbers, e.g, a space, hyphen or period,
PHONE_DISPLAY_SEPARATOR = "-"
#
#
#
#
#
#
#
# PHONE_DISPLAY_FORMAT = "###-###-####"
To support variable phone number formats, make the phone number display format configurable. Include support for no formatting.