Add rtime for steam

This commit is contained in:
2026-02-07 20:05:29 +03:00
parent a0cfa765bd
commit e6bc69aa3e
3 changed files with 73 additions and 7 deletions
+5 -1
View File
@@ -56,7 +56,11 @@
{{ tmsmp(g.playtime_forever*60) }} (<abbr title="Total">T</abbr>)
</p>
{% if g.rtime_last_played != 0 %}
<p>Last played: {{ utmsmp(g.rtime_last_played) }}</p>
<p
x-data="steam_rtime({{ g.rtime_last_played }})"
x-text="`Last played: ${timeString}`"
:class="textColorClass"
></p>
{% endif %}
</div>
</a>