Commit 4dc23317 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Use 0-23 hour format. JM-366


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1761 b35dd754-fafc-0310-a699-88a17e54d16e
parent f493b32a
......@@ -51,7 +51,7 @@ public class IQOfflineMessagesHandler extends IQHandler implements ServerFeature
public IQOfflineMessagesHandler() {
super("Flexible Offline Message Retrieval Handler");
info = new IQHandlerInfo("offline", NAMESPACE);
dateFormat = new SimpleDateFormat("yyyy-MM-DD'T'hh:mm:ss.SSS'Z'");
dateFormat = new SimpleDateFormat("yyyy-MM-DD'T'HH:mm:ss.SSS'Z'");
dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
}
......@@ -117,7 +117,7 @@ public class IQOfflineMessagesHandler extends IQHandler implements ServerFeature
}
public Iterator getFeatures() {
ArrayList features = new ArrayList();
ArrayList<String> features = new ArrayList<String>();
features.add(NAMESPACE);
return features.iterator();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment