{% load tz %}{% comment %} UTC-primary time: `2026-07-24 11:59:23Z` with the session's zone as a muted secondary. Never render bare local time on an epoch, an AOS or a reception timestamp -- a reader who does not know which zone they are looking at cannot compare two numbers. {% include "yksa/ui/_utc.html" with dt=element.epoch %} {% include "yksa/ui/_utc.html" with dt=pass_obj.los date=False %} dt the datetime (required) date include the date part (default: yes) seconds include seconds (default: yes) local show the muted local secondary (default: yes) {% endcomment %}{% spaceless %} {% localtime off %}{% if date|default_if_none:True %}{{ dt|utc|date:"Y-m-d " }}{% endif %}{{ dt|utc|date:"H:i" }}{% if seconds|default_if_none:True %}{{ dt|utc|date:":s" }}{% endif %}Z{% endlocaltime %}{% if local|default_if_none:True %} {% localtime on %}{{ dt|date:"H:i O" }}{% endlocaltime %}{% endif %} {% endspaceless %}