Email Template Date Utils

email_template_dateutil
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/7.0/email_template_dateutil
VERSION
VERSION 0.1
CATEGORY
CATEGORYOthers
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSSavoir-faire Linux
COMMITTERS
COMMITTERSAlexandre Fayolle, Vincent Vinet
WEBSITE
WEBSITEhttp://www.savoirfairelinux.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - email_template
    - mail
    - base
    - base_setup
    - web_kanban
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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.

Models touched (0)

No models found for this module.