mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-12 10:15:52 +00:00
Print date and time in DownloadListener.
This commit is contained in:
parent
2191a9979f
commit
dd8208c135
@ -72,7 +72,7 @@ public class DownloadListener extends AbstractPeerEventListener {
|
|||||||
*/
|
*/
|
||||||
protected void progress(double pct, Date date) {
|
protected void progress(double pct, Date date) {
|
||||||
System.out.println(String.format("Chain download %d%% done, block date %s", (int) pct,
|
System.out.println(String.format("Chain download %d%% done, block date %s", (int) pct,
|
||||||
DateFormat.getDateInstance().format(date)));
|
DateFormat.getDateTimeInstance().format(date)));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user