From 9a098723e888e90edc9ad313e7b134f52fc6c048 Mon Sep 17 00:00:00 2001 From: LatinSuD Date: Thu, 4 Apr 2013 03:59:01 +0300 Subject: Fix date parsing Short year format specification works in both cases. Long year didn't. --- src/de/danoeh/antennapod/syndication/util/SyndDateUtils.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/de/danoeh/antennapod') diff --git a/src/de/danoeh/antennapod/syndication/util/SyndDateUtils.java b/src/de/danoeh/antennapod/syndication/util/SyndDateUtils.java index 6196d064d..30835434f 100644 --- a/src/de/danoeh/antennapod/syndication/util/SyndDateUtils.java +++ b/src/de/danoeh/antennapod/syndication/util/SyndDateUtils.java @@ -11,8 +11,7 @@ import android.util.Log; public class SyndDateUtils { private static final String TAG = "DateUtils"; - public static final String[] RFC822DATES = { "dd MMM yyyy HH:mm:ss Z", - "dd MMM yy HH:mm:ss Z", }; + public static final String[] RFC822DATES = { "dd MMM yy HH:mm:ss Z", }; /** RFC 3339 date format for UTC dates. */ public static final String RFC3339UTC = "yyyy-MM-dd'T'HH:mm:ss'Z'"; -- cgit v1.2.3