We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6002557 commit 301b353Copy full SHA for 301b353
app/src/main/java/mavonie/subterminal/Utils/Date/DateFormat.java
@@ -1,6 +1,7 @@
1
package mavonie.subterminal.Utils.Date;
2
3
import java.text.SimpleDateFormat;
4
+import java.util.TimeZone;
5
6
/**
7
* Created by mavon on 17/10/16.
@@ -18,6 +19,8 @@ public static String dateTimeNow() {
18
19
java.text.SimpleDateFormat sdf =
20
new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
21
22
+ sdf.setTimeZone(TimeZone.getTimeZone("GMT"));
23
+
24
return sdf.format(dt);
25
}
26
0 commit comments