aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/xmpp/extensions/JuickMessage.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/xmpp/extensions/JuickMessage.java')
-rw-r--r--src/main/java/com/juick/xmpp/extensions/JuickMessage.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/juick/xmpp/extensions/JuickMessage.java b/src/main/java/com/juick/xmpp/extensions/JuickMessage.java
index bbc1568e..a7fd1e35 100644
--- a/src/main/java/com/juick/xmpp/extensions/JuickMessage.java
+++ b/src/main/java/com/juick/xmpp/extensions/JuickMessage.java
@@ -45,6 +45,8 @@ public class JuickMessage extends com.juick.Message implements StanzaChild {
public JuickMessage(com.juick.Message msg) {
super(msg);
+ df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
+ df.setTimeZone(TimeZone.getTimeZone("UTC"));
}
@Override