forked from I2P_Developers/i2p.i2p
News: Set initial news to current date
This commit is contained in:
@ -186,7 +186,8 @@ public class NewsManager implements ClientApp {
|
||||
}
|
||||
List<NewsEntry> rv = parseNews(out.toString(), true);
|
||||
if (!rv.isEmpty()) {
|
||||
rv.get(0).updated = RFC3339Date.parse3339Date("2015-01-01");
|
||||
//rv.get(0).updated = RFC3339Date.parse3339Date("2015-01-01");
|
||||
rv.get(0).updated = _context.clock().now();
|
||||
} else {
|
||||
if (_log.shouldWarn())
|
||||
_log.warn("failed to load " + file);
|
||||
|
Reference in New Issue
Block a user