diff options
Diffstat (limited to 'templates/show_paste.html')
-rw-r--r-- | templates/show_paste.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/show_paste.html b/templates/show_paste.html index 03d57b1..e9ed02a 100644 --- a/templates/show_paste.html +++ b/templates/show_paste.html @@ -9,7 +9,9 @@ <dd>{{ paste.user.display_name }} {% endif %} <dt>Date - <dd>{{ paste.pub_date.strftime('%Y-%m-%dT%H:%M:%SZ') }} + <dd>{{ paste.pub_date.strftime('%FT%TZ') }} + {% if paste.exp_date and paste.exp_date != paste.pub_date %}<dt>Expires + <dd>{{ paste.exp_date.strftime('%FT%TZ') }}{% endif %} <dt>Actions <dd> {% if not paste.is_private %} |