From 816eb865424cd51eeff73968f062e434a8d171d1 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 7 Feb 2016 21:43:02 +0300 Subject: fix push queries and jabber serialization --- src/main/java/com/juick/xmpp/extensions/JuickMessage.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/com/juick/xmpp/extensions/JuickMessage.java') 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 -- cgit v1.2.3