Comment 4 for bug 979550

Revision history for this message
Ravish(OpenERP) (rmu-openerp) wrote :

Hello Brett,

It's is server issue that why ,I am making it invalid for addons.

If you apply this following code then you can get date&time as per your time zone

[[formatLang(datetime.now(pytz.timezone(user.context_tz)).strftime('%Y-%m-%d %Z%z'), date=True)]][[ datetime.now(pytz.timezone(user.context_tz)).strftime("%H:%M")]]

Thanks!!