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!!
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!!