Skip to content

Remove all format_* wrappers #164

Description

@TkTech

Our API is never up to date with babel (ex: #142), and we do not cover the entire babel API. Our wrappers add no real value, and add a lot of surface area for test coverage. Just like flask-wtforms did way back in version 0.9, we should focus on just being the glue between flask and babel.

  • format_datetime
  • format_date
  • format_time
  • format_timedelta
  • format_number
  • format_decimal
  • format_currency
  • format_percent
  • format_scientific

As part of this, we need to improve the documentation to show better examples of using get_locale and get_timezone.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions