mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-23 22:46:56 +01:00
Print date and time in DownloadListener.
This commit is contained in:
parent
2191a9979f
commit
dd8208c135
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ public class DownloadListener extends AbstractPeerEventListener {
|
|||
*/
|
||||
protected void progress(double pct, Date date) {
|
||||
System.out.println(String.format("Chain download %d%% done, block date %s", (int) pct,
|
||||
DateFormat.getDateInstance().format(date)));
|
||||
DateFormat.getDateTimeInstance().format(date)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue