日期字段添加周几显示

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-07-26 14:09:20 +08:00
parent c2a6b99fbd
commit 0684f15859
4 changed files with 8 additions and 6 deletions
+3 -3
View File
@@ -92,7 +92,7 @@
<span class="badge badge-up"></span>
{% endif %}
</td>
<td>{{ t.open_date }}</td>
<td>{{ t.open_date }} {{ weekdays[t.open_date.weekday()] }}</td>
<td>{{ t.open_price }}</td>
<td>{{ t.open_fee or 0 }}</td>
<td>
@@ -157,8 +157,8 @@
<span class="badge badge-up"></span>
{% endif %}
</td>
<td style="font-size:0.8rem;">{{ t.open_date }}</td>
<td style="font-size:0.8rem;">{{ t.close_date }}</td>
<td style="font-size:0.8rem;">{{ t.open_date }} {{ weekdays[t.open_date.weekday()] }}</td>
<td style="font-size:0.8rem;">{{ t.close_date }} {{ weekdays[t.close_date.weekday()] }}</td>
<td>{{ t.open_price }}</td>
<td>{{ t.close_price }}</td>
<td>{{ t.open_fee or 0 }}</td>