[英]What is best practice for date data field type in GAE-GWT?
This question has few sub-questions! 这个问题有几个子问题!
Client/Server time-zone problem 客户端/服务器时区问题
a) How to show date on client side (correct time zone) a)如何在客户端显示日期(正确的时区)
b) If client inserts date, server needs to insert date in servers timezone or better fixed app timezone? b)如果客户端插入日期,服务器需要在服务器时区或更固定的应用程序时区中插入日期? (correct api?)
(正确的API?)
Is there any good manual for this topic! 这个主题有什么好的手册!
Currently, I am using long for date data type, but it somehow does't feel right (for example browsing in admin console is confusing). 目前,我正在使用long for date数据类型,但感觉不对(例如,在管理控制台中浏览会造成混淆)。 Thanks!
谢谢!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.