From 70f6d6b21a6761444c54898a6ed48793e72e7177 Mon Sep 17 00:00:00 2001
From: "Danil S." <135337715+sh1shd@users.noreply.github.com>
Date: Thu, 4 Dec 2025 05:37:27 +0700
Subject: chore: use `Intl` for date formatting (#3588)
* chore: use `Intl` for date formatting
* fix: show last traffic reset
* chore: use raw timestamps
* fix: remove unnecessary import
---
web/html/form/inbound.html | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
(limited to 'web/html/form')
diff --git a/web/html/form/inbound.html b/web/html/form/inbound.html
index 00f97f6e..fdd381b0 100644
--- a/web/html/form/inbound.html
+++ b/web/html/form/inbound.html
@@ -52,9 +52,7 @@
{{ i18n "pages.inbounds.lastReset" }}:
- [[
- moment(dbInbound.lastTrafficResetTime).format('YYYY-MM-DD HH:mm:ss') ]]
- [[ DateUtil.convertToJalalian(moment(dbInbound.lastTrafficResetTime)) ]]
+ [[ IntlUtil.formatDate(dbInbound.lastTrafficResetTime) ]]
{{ i18n "pages.inbounds.periodicTrafficResetTitle" }}
--
cgit v1.2.3