We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e0b6b6 commit 851bd0dCopy full SHA for 851bd0d
1 file changed
maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java
@@ -21,6 +21,7 @@
21
import java.io.IOException;
22
import java.io.InputStream;
23
import java.text.SimpleDateFormat;
24
+import java.time.ZoneId;
25
import java.util.Date;
26
import java.util.Locale;
27
import java.util.Properties;
@@ -68,6 +69,8 @@ public static String showVersion() {
68
69
.append(Locale.getDefault())
70
.append(", platform encoding: ")
71
.append(System.getProperty("file.encoding", "<unknown encoding>"))
72
+ .append(", time zone: ")
73
+ .append(ZoneId.systemDefault().getId())
74
.append(ls);
75
version.append("OS name: \"")
76
.append(Os.OS_NAME)
0 commit comments