Odoo Help

Vince Vinet
On 4/23/15, 3:52 PM

I have just created a module which allows you do to:

<span t-usertime="%Y-%m-%d %H-%M-%S" /> 

and get the correct timezone. See it on GitHub 

This has now been accepted in the OCA addons. Updated the github link.

Savoir-Faire Linux, Vince Vinet
on 5/11/15, 10:06 AM
On 3/8/17, 10:18 PM
<span t-esc="context_timestamp(datetime.datetime.now()).strftime('%Y-%m-%d %H:%M')"/>   

This should be the correct answer

Andre de Kock
on 8/25/17, 7:48 AM

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

5 follower(s)


Asked: 2/13/15, 6:48 PM
Seen: 18481 times
Last updated: 7/18/18, 8:32 AM