diff options
author | LatinSuD <latinsud@gmail.com> | 2013-04-04 03:59:01 +0300 |
---|---|---|
committer | LatinSuD <latinsud@gmail.com> | 2013-04-04 03:59:01 +0300 |
commit | 9a098723e888e90edc9ad313e7b134f52fc6c048 (patch) | |
tree | 6c98dbf92633af2717133af89ea16c36453e271e /src/de/danoeh/antennapod | |
parent | 09191d734e2eb7cfcd338057266ec150063287b6 (diff) | |
download | AntennaPod-9a098723e888e90edc9ad313e7b134f52fc6c048.zip |
Fix date parsing
Short year format specification works in both cases. Long year didn't.
Diffstat (limited to 'src/de/danoeh/antennapod')
-rw-r--r-- | src/de/danoeh/antennapod/syndication/util/SyndDateUtils.java | 3 |
1 files changed, 1 insertions, 2 deletions
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'"; |