Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/index.html')
-rw-r--r--web/html/index.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/web/html/index.html b/web/html/index.html
index 1c6bb0be..9cbb019d 100644
--- a/web/html/index.html
+++ b/web/html/index.html
@@ -844,11 +844,9 @@
text = `<td>${log.Email}</td>`;
}
- const { locale, timeZone } = Intl.DateTimeFormat().resolvedOptions();
-
formattedLogs += `
<tr ${outboundColor}>
- <td><b>${new Date(log.DateTime).toLocaleString(locale, { timeZone })}</b></td>
+ <td><b>${IntlUtil.formatDate(log.DateTime)}</b></td>
<td>${log.FromAddress}</td>
<td>${log.ToAddress}</td>
<td>${log.Inbound}</td>