Skip to content

Commit 30d9108

Browse files
committed
Revert "feat: show subscription creation date on user page"
This reverts commit bbbcc7f.
1 parent ec25ff4 commit 30d9108

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/routes/subscription.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,6 @@ async function generateHTML(user, nodes, token, baseUrl, settings) {
619619

620620
const trafficUsed = ((user.traffic?.tx || 0) + (user.traffic?.rx || 0)) / (1024 * 1024 * 1024);
621621
const trafficLimit = user.trafficLimit ? user.trafficLimit / (1024 * 1024 * 1024) : 0;
622-
const createdDate = user.createdAt ? new Date(user.createdAt).toLocaleDateString('ru-RU') : '—';
623622
const expireDate = user.expireAt ? new Date(user.expireAt).toLocaleDateString('ru-RU') : 'Бессрочно';
624623

625624
// Group by location preserving node sort order (Map keeps insertion order for all key types)
@@ -759,10 +758,6 @@ async function generateHTML(user, nodes, token, baseUrl, settings) {
759758
<div class="stat-value">${locations.size}</div>
760759
<div class="stat-label">Локаций</div>
761760
</div>
762-
<div class="stat">
763-
<div class="stat-value">${createdDate}</div>
764-
<div class="stat-label">Создана</div>
765-
</div>
766761
<div class="stat">
767762
<div class="stat-value">${expireDate}</div>
768763
<div class="stat-label">Действует до</div>

0 commit comments

Comments
 (0)