mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 13:12:15 +00:00
Lease: Store time as long rather than Date to save space
Add long methods, deprecate Date methods
This commit is contained in:
1 parent
6887c7edae
commit
3606a42ea8
10 files changed
+56
-30
No files matched your search
@@ -651,7 +651,7 @@ class NetDbRenderer {
|
||||
.append(lease.getTunnelId().getTunnelId()).append("</span></span> ");
|
||||
}
|
||||
if (debug) {
|
||||
long exl = lease.getEndDate().getTime() - now;
|
||||
long exl = lease.getEndTime() - now;
|
||||
if (exl > 0)
|
||||
buf.append("<b class=\"netdb_expiry\">").append(_t("Expires in {0}", DataHelper.formatDuration2(exl))).append("</b>");
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user