{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/3"}],"enrichment":{"capability":"Flask-Moment adds moment.js date and time formatting to Jinja2 templates, letting you render human-readable timestamps directly in your Flask application's HTML.","skillfed_tags":["flask-extension","template-rendering","datetime-formatting"],"use_cases":["Display relative timestamps in activity feeds or comment sections without server-side recalculation.","Render dates and times in user-preferred formats and locales directly in templates.","Show countdown timers or duration displays that update in the browser using moment.js.","Format timestamps in API responses for display in Flask-rendered HTML without extra logic.","Build dashboards where timestamps need to update client-side as time passes."],"what_it_does":"Flask-Moment is a Flask extension that integrates moment.js into your Jinja2 templates, allowing you to format dates and times directly in template markup. Instead of formatting timestamps in Python and passing strings to templates, you pass datetime objects and use Flask-Moment's template functions to render them as human-readable text\u2014relative times like 'a few seconds ago', formatted dates, durations, and more\u2014all processed by moment.js in the browser.\n\nThe package depends on Flask and packaging, and requires Python 3.6 or later. It's designed for web applications where you want flexible, locale-aware date and time display without server-side formatting overhead. The extension integrates into your template layer, making it straightforward to add moment.js capabilities to existing Flask projects.","worth_installing":"Yes. Flask-Moment is actively maintained, has no known vulnerabilities, installs with minimal friction, and solves a common Flask templating need cleanly. The MIT license poses no restrictions. Install it if you need flexible date and time rendering in your Flask templates."},"id":"flask-moment","links":{"html":"https://skillfed.io/packages/flask-moment","md":"https://skillfed.io/packages/flask-moment.md","pypi":"https://pypi.org/project/flask-moment/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-05-28","license_spdx":null,"license_treatment":"permissive","name":"Flask-Moment","python_support":"supports_current","summary":"Formatting of dates and times in Flask templates using moment.js."},"popularity":{"monthly_downloads":147069,"position":11081,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.6"}
