From 1a3e2b3ae24dee4146ecac7d99d323184df98bf8 Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Tue, 9 Aug 2005 22:25:55 +0000 Subject: [PATCH] Modified to use 0-23 hour format. SMACK-70 git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2520 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smackx/packet/Time.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/org/jivesoftware/smackx/packet/Time.java b/source/org/jivesoftware/smackx/packet/Time.java index 31a6d288a..9ceea620f 100644 --- a/source/org/jivesoftware/smackx/packet/Time.java +++ b/source/org/jivesoftware/smackx/packet/Time.java @@ -60,7 +60,7 @@ import java.text.DateFormat; */ public class Time extends IQ { - private static SimpleDateFormat utcFormat = new SimpleDateFormat("yyyyMMdd'T'hh:mm:ss"); + private static SimpleDateFormat utcFormat = new SimpleDateFormat("yyyyMMdd'T'HH:mm:ss"); private static DateFormat displayFormat = DateFormat.getDateTimeInstance(); private String utc = null;