jinja2-time
Jinja2 Extension for Dates and Times
Decision gist · record as of 2026-08-14
No—not for new projects. The package is abandoned (last release 2016-06-08, last commit 2022-06-18) and offers only a thin convenience layer over jinja2 and arrow. For modern code, use arrow or Python's datetime directly in your template context, or consider a maintained Jinja2 extension. Install only if maintaining legacy code that already depends on it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies beyond jinja2 and arrow, which are automatically installed.
- However, the package is abandoned—last release was 2016-06-08 and last commit 2022-06-18—so expect no maintenance or updates.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions.
last release 2016-06-08 (3719 days) · last repo commit 2022-06-18 · 74 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,617,898 downloads/mo, #3,713 on PyPI
Alternatives
Verify before relying
pip install jinja2-time
from jinja2 import Environment
env = Environment(extensions=['jinja2_time.TimeExtension'])
template = env.from_string("{% now 'utc' %}")
template.render()- Whether the package works reliably with Python versions beyond 3.5 listed in classifiers
- Compatibility with current versions of jinja2 and arrow, given the age of the last release
What it is and what it does
jinja2-time is a Jinja2 template extension that brings date and time functionality directly into template rendering. It provides a `now` tag that retrieves the current time in any timezone, formats it using strftime patterns, and supports relative time offsets (adding or subtracting hours, days, minutes, etc.). The extension also allows you to set a default datetime format on the environment to reduce boilerplate in templates.
The package integrates arrow for its underlying datetime handling and is designed for use cases where templates need to render dynamic timestamps or time-relative content. It has no runtime dependencies beyond jinja2 and arrow, making it lightweight to install. However, it has been abandoned since 2016 with no active maintenance, so it may not work with very recent Python or dependency versions.
Use it for
- Render current timestamps in templates with timezone awareness and custom formatting
- Generate time-relative content by offsetting the current time in template expressions
- Template-based report generation that includes dynamically formatted dates
- Email or document templates that need to embed the current date in a specific format
- Multi-timezone template rendering where different regions see localized time output
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—not for new projects.
The package is abandoned (last release 2016-06-08, last commit 2022-06-18) and offers only a thin convenience layer over jinja2 and arrow. For modern code, use arrow or Python's datetime directly in your template context, or consider a maintained Jinja2 extension. Install only if maintaining legacy code that already depends on it.
Install
jinja2-time on PyPI
Before you install
Low install friction with no runtime dependencies beyond jinja2 and arrow, which are automatically installed. However, the package is abandoned—last release was 2016-06-08 and last commit 2022-06-18—so expect no maintenance or updates.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions.
Quickstart
pip install jinja2-time
from jinja2 import Environment
env = Environment(extensions=['jinja2_time.TimeExtension'])
template = env.from_string("{% now 'utc' %}")
template.render()
Verify before relying
- Whether the package works reliably with Python versions beyond 3.5 listed in classifiers
- Compatibility with current versions of jinja2 and arrow, given the age of the last release
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 3,719 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,617,898 / month, #3,713 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: jinja2_time-0.2.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “jinja2 date time template tags”
- jinja2-timeJinja2 extension that adds template tags for working with dates and…
- jinja2-simple-tagsProvides base classes to create custom Jinja2 template tags…
- Flask-MomentFlask-Moment adds moment.js date and time formatting to Jinja2…
Give your agent the search over MCP, or paste the wish link into any chat.
More Markup packages
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
A Python markdown parser that converts markdown to HTML following the CommonMark specification, with support for plugins and custom syntax rules.
Install it if you need reliable markdown-to-HTML conversion.
Beautiful Soup parses HTML and XML documents into a navigable tree, providing Pythonic methods to search, iterate, and modify the parsed content.
Install it if you need to parse or extract data from markup documents.
et_xmlfile writes large XML files with minimal memory overhead by serializing elements to disk as they are created, rather than holding the entire tree in memory.
Install it if incremental XML writing fits your use case; skip it if your XML documents are small or you already use lxml.
Parses and edits TOML files while preserving formatting, comments, and structure, then serializes them back with layout intact.
Install it if you're building tools that touch TOML files and user readability of the source matters.
Parses Python docstrings in ReST, Google, Numpydoc, and Epydoc formats, extracting structured information like descriptions, parameters, return types, and exceptions.
Install it if you need to programmatically read and extract structured data from Python docstrings.
See also times · jinja2-humanize-extension · jinja2-strcase · Flask-Moment · pytz · jinja2-simple-tags · timeago · moment · aniso8601 · strict-rfc3339