Skip to content

Commit 6eacd7d

Browse files
committed
improved dns expiriation date formating
1 parent f169352 commit 6eacd7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

web/templates/admin/list_dns.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
<table>
112112
<tr>
113113
<td class="counter-name">Expire:</td>
114-
<td class="counter-value"><?php echo $data[$key]['EXP'] ?></td>
114+
<td class="counter-value"><?php echo date("Y M d", strtotime($data[$key]['EXP'])) ?></td>
115115
</tr>
116116
<tr>
117117
<td class="counter-name">Records:</td>

web/templates/user/list_dns.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
<table>
102102
<tr>
103103
<td class="counter-name">Expire:</td>
104-
<td class="counter-value"><?php echo $data[$key]['EXP'] ?></td>
104+
<td class="counter-value"><?php echo date("Y M d", strtotime($data[$key]['EXP'])) ?></td>
105105
</tr>
106106
<tr>
107107
<td class="counter-name">Records:</td>

0 commit comments

Comments
 (0)