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 2b28fb4 commit 0e40355Copy full SHA for 0e40355
core/src/main/java/io/snabble/sdk/Events.java
@@ -12,6 +12,7 @@
12
import java.io.IOException;
13
import java.text.SimpleDateFormat;
14
import java.util.Date;
15
+import java.util.Locale;
16
import java.util.TimeZone;
17
18
import io.snabble.sdk.utils.GsonHolder;
@@ -39,7 +40,7 @@ class Events {
39
40
public Events(Project project) {
41
this.project = project;
42
- simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
43
+ simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", Locale.US);
44
simpleDateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
45
46
project.getShoppingCart().addListener(new ShoppingCart.SimpleShoppingCartListener() {
0 commit comments