Repository
OCA/server-tools · module folder · Try on Runboat
Module version
0.1
Category
Others
Folder size
0.01 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://www.savoirfairelinux.com
Last tracking update
2026-08-07 06:56:12
Authors
Savoir-faire Linux, Odoo Community Association (OCA)
Maintainers
Savoir-faire Linux
Committers
Alexandre Fayolle, Vincent Vinet
Odoo dependencies
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
None
Description
This module adds an extra filter in email templates:

format_date(format, tz=tzname) : parses and formats a date or datetime string.
    Optional parameter tz allows specifying the timezone to use. Otherwise, the
    user's timezone or server timezone will be used. If none are found, time is
    left in UTC

Example: ${ object.date_field|format_date('%m/%d/%Y') }


Contributors
------------
* Vincent Vinet (vincent.vinet@savoirfairelinux.com)

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (0)

No models found for this module.