diff --git a/src/Vervis/Handler/Ticket.hs b/src/Vervis/Handler/Ticket.hs index f00bb28..aa12c4c 100644 --- a/src/Vervis/Handler/Ticket.hs +++ b/src/Vervis/Handler/Ticket.hs @@ -65,6 +65,7 @@ import Vervis.Model.Ident import Vervis.Render (renderSourceT) import Vervis.Settings (widgetFile) import Vervis.TicketFilter (filterTickets) +import Vervis.Time (showDate) import Vervis.Widget.Discussion (discussionW) import Vervis.Widget.Sharer (personLinkW) diff --git a/templates/ticket/one.hamlet b/templates/ticket/one.hamlet index 7684020..2f3167e 100644 --- a/templates/ticket/one.hamlet +++ b/templates/ticket/one.hamlet @@ -20,7 +20,7 @@ $# .

- Created on #{formatTime defaultTimeLocale "%F" $ ticketCreated ticket} by + Created on #{showDate $ ticketCreated ticket} by ^{personLinkW author}

@@ -32,7 +32,7 @@ $# .

Status: $if ticketDone ticket - Closed on #{formatTime defaultTimeLocale "%F" $ ticketClosed ticket} by + Closed on #{showDate $ ticketClosed ticket} by ^{personLinkW closer}.