mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
Integer.MAX_VALUE is actually the maximum value in seconds, construct date with milliseconds (#56)
This commit is contained in:
@@ -27,7 +27,7 @@ import com.sun.syndication.io.SyndFeedInput;
|
||||
public class FeedParser {
|
||||
|
||||
private static final Date START = new Date(0);
|
||||
private static final Date END = new Date(Integer.MAX_VALUE);
|
||||
private static final Date END = new Date(1000l * Integer.MAX_VALUE);
|
||||
|
||||
private static final Function<SyndContent, String> CONTENT_TO_STRING = new Function<SyndContent, String>() {
|
||||
public String apply(SyndContent content) {
|
||||
|
||||
Reference in New Issue
Block a user