From 25a431d6a93fb37174b1033b76aaaa7dca500a82 Mon Sep 17 00:00:00 2001 From: Baldnerd Date: Fri, 7 Nov 2025 22:28:11 -0500 Subject: [PATCH] Enhanced time estimates for sync --- installer | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/installer b/installer index 8ebdd32..8966340 100755 --- a/installer +++ b/installer @@ -489,7 +489,17 @@ async function loadStatus() { html += '
'; html += '

Sync progress: ' + progress.toFixed(2) + '%'; if (ibd) { - html += ' • Estimated time left: ' + formatEta(etaSeconds); + if (etaSeconds && isFinite(etaSeconds) && etaSeconds > 0) { + const etaDate = new Date(Date.now() + etaSeconds * 1000); + const etaString = etaDate.toLocaleString(undefined, { + month: 'long', + day: 'numeric', + year: 'numeric', + hour: 'numeric', + minute: '2-digit' + }); + html += ' • Estimated time left: ' + formatEta(etaSeconds) + ' (' + etaString + ')'; + } } html += '

';