aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/xmpp/extensions/JuickMessage.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-02-07 21:43:02 +0300
committerGravatar Vitaly Takmazov2016-02-07 21:43:02 +0300
commit816eb865424cd51eeff73968f062e434a8d171d1 (patch)
tree44266435b21bfe04727fc295e21efc0f609b920f /src/main/java/com/juick/xmpp/extensions/JuickMessage.java
parentefcc9d5763fd5a67967ea38b9a5780d3986182dd (diff)
fix push queries and jabber serialization
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