1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-23 02:58:00 +01:00

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
This commit is contained in:
Gaston Dombiak 2005-08-09 22:25:55 +00:00 committed by gaston
parent 56bcd54883
commit 1a3e2b3ae2

View file

@ -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;