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:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-07-13 02:38:51 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-07-13 02:38:51 +0300
commit76fdfb2ef2083563cebaca0f05d823653df18e05 (patch)
treede87da29e698adca42c98fe1e7ac2ca102d42284 /web/html/xui/inbound_info_modal.html
parent80180231872375c335a36f8d6bb79442277b823e (diff)
date format - jalalian
Diffstat (limited to 'web/html/xui/inbound_info_modal.html')
-rw-r--r--web/html/xui/inbound_info_modal.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/inbound_info_modal.html
index 82c9cf62..e5dbda42 100644
--- a/web/html/xui/inbound_info_modal.html
+++ b/web/html/xui/inbound_info_modal.html
@@ -221,7 +221,14 @@
</td>
<td>
<template v-if="infoModal.clientSettings.expiryTime > 0">
- <a-tag :color="usageColor(new Date().getTime(), app.expireDiff, infoModal.clientSettings.expiryTime)"> [[ DateUtil.formatMillis(infoModal.clientSettings.expiryTime) ]] </a-tag>
+ <a-tag :color="usageColor(new Date().getTime(), app.expireDiff, infoModal.clientSettings.expiryTime)">
+ <template v-if="app.datepicker === 'gregorian'">
+ [[ DateUtil.formatMillis(infoModal.clientSettings.expiryTime) ]]
+ </template>
+ <template v-else>
+ [[ DateUtil.convertToJalalian(moment(infoModal.clientSettings.expiryTime)) ]]
+ </template>
+ </a-tag>
</template>
<a-tag v-else-if="infoModal.clientSettings.expiryTime < 0" color="green">[[ infoModal.clientSettings.expiryTime / -86400000 ]] {{ i18n "pages.client.days" }}
</a-tag>