Solution:
(2)In OneOrder, after select data from DB, we use below function, convert the CET time to User Time Zone.
(3)In our program, we can’t transport User Time Zone out to UI directly, we should convert User Time Zone to UTC and update it_ausg. (it’s better for UI to convert UTC to your browser time)
(4)In the frontend, we can just use one logic, convert UTC to local time.
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/212256.html原文链接:https://javaforall.net
