mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
Fixed another problem of symbold downloading.
This commit is contained in:
parent
f5b5014b2d
commit
cdf05069d2
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ public class GathererSets implements Iterable<DownloadJob> {
|
||||||
public Iterator<DownloadJob> iterator() {
|
public Iterator<DownloadJob> iterator() {
|
||||||
Calendar c = Calendar.getInstance();
|
Calendar c = Calendar.getInstance();
|
||||||
c.setTime(new Date());
|
c.setTime(new Date());
|
||||||
c.add(Calendar.DATE, -14);
|
c.add(Calendar.DATE, +14); // Try to load the symbols eralies 14 days before release date
|
||||||
Date compareDate = c.getTime();
|
Date compareDate = c.getTime();
|
||||||
ArrayList<DownloadJob> jobs = new ArrayList<>();
|
ArrayList<DownloadJob> jobs = new ArrayList<>();
|
||||||
for (String symbol : symbols) {
|
for (String symbol : symbols) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue