Welcome!

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

1

Cara Mengambil Jam sesuai Timezone di XML

By
Joenan Rayhan
on 12/29/18, 1:58 AM 1.162 views

Saya mau menampilkan jam di report dengan cara ini, tapi waktu yg muncul adalah waktu database yaitu sesuai GMT. Bagaimana caranya supaya waktunya sesuai GMT+7?

<span t-esc="time.strftime('%H:%M',time.strptime(o.jam,'%Y-%m-%d %H:%M:%S'))"/>
terima kasih

1
Muhammad Fahreza
On 1/9/19, 10:57 AM
time.strftime('%H:%M',time.strptime(o.jam,'%Y-%m-%d %H:%M:%S'))

^ kayaknya bakal di eksekusi di Odoo Server python code.

jadi gak bisa


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Keep Informed

About This Community

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 12/29/18, 1:58 AM
Seen: 1162 times
Last updated: 1/16/19, 3:23 AM