Fredi B 3 Years Ago Good post and in my opinion not only applicable for Liferay. We all should have enough mathematic knowledge to calculate GMT to our actual time. Please sign in to reply. Reply as... Cancel David H Nebinger Fredi B 3 Years Ago The math is necessary, certainly, but the point I wanted to make in the post is that it is important to simply not just think locally anymore. The world now is too big, any project started today that only considers a local timezone is either going to be short lived or will be a barrier to growth. Whatever your application is, look at it as though it is the next Amazon.com or Microsoft.com or Walmart.com or Google.com. I guarantee you these folks have never considered using only a single timezone in their platform. And neither should we... Please sign in to reply. Reply as... Cancel
David H Nebinger Fredi B 3 Years Ago The math is necessary, certainly, but the point I wanted to make in the post is that it is important to simply not just think locally anymore. The world now is too big, any project started today that only considers a local timezone is either going to be short lived or will be a barrier to growth. Whatever your application is, look at it as though it is the next Amazon.com or Microsoft.com or Walmart.com or Google.com. I guarantee you these folks have never considered using only a single timezone in their platform. And neither should we... Please sign in to reply. Reply as... Cancel
Jorge Diaz 3 Years Ago It is also documented here: 1- https://help.liferay.com/hc/en-us/articles/360029031471-Preparing-for-Install#jvm-requirements 2- https://help.liferay.com/hc/en-us/articles/360018175171-Locales-and-Encoding-Configuration#set-the-jvm-time-zone-to-gmt 3- https://learn.liferay.com/dxp/7.x/en/installation-and-upgrades/installing-liferay/installing-liferay-on-an-application-server/installing-on-tomcat.html?highlight=user%20timezone%20gmt And in case you start Liferay with user.timezone != GMT, a warning trace will be written telling you to not doing it, see: - https://github.com/liferay/liferay-portal/blob/2d2e8ae74e9e7b33a07328277da64f54db576a04/portal-impl/src/com/liferay/portal/internal/servlet/MainServlet.java#L271-L286 Please sign in to reply. Reply as... Cancel
Jorge Diaz 3 Years Ago It is also documented here: 1- https://help.liferay.com/hc/en-us/articles/360029031471-Preparing-for-Install#jvm-requirements 2- https://help.liferay.com/hc/en-us/articles/360018175171-Locales-and-Encoding-Configuration#set-the-jvm-time-zone-to-gmt 3- https://learn.liferay.com/dxp/7.x/en/installation-and-upgrades/installing-liferay/installing-liferay-on-an-application-server/installing-on-tomcat.html?highlight=user%20timezone%20gmt And in case you start Liferay with user.timezone != GMT, a warning trace will be written telling you to not doing it, see: https://github.com/liferay/liferay-portal/blob/2d2e8ae74e9e7b33a07328277da64f54db576a04/portal-impl/src/com/liferay/portal/internal/servlet/MainServlet.java#L271-L286 Please sign in to reply. Reply as... Cancel