zyxxoo commented on code in PR #632:
URL:
https://github.com/apache/incubator-hugegraph-toolchain/pull/632#discussion_r1998571603
##########
hugegraph-hubble/hubble-be/src/main/java/org/apache/hugegraph/HugeGraphHubble.java:
##########
@@ -27,28 +27,34 @@
import
org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.scheduling.annotation.EnableScheduling;
+import java.time.ZoneOffset;
+import java.util.TimeZone;
+
@SpringBootApplication
@EnableScheduling
@MapperScan("org.apache.hugegraph.mapper")
public class HugeGraphHubble extends SpringBootServletInitializer {
public static void main(String[] args) {
+ System.out.println("user.dir ==> " + System.getProperty("user.dir"));
initEnv();
+ TimeZone.setDefault(TimeZone.getTimeZone(ZoneOffset.of("+8")));
Review Comment:
the zone default +8 should set by config, because the repo not only use in
china
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]