diff options
Diffstat (limited to 'app/Issue')
-rw-r--r-- | app/Issue/Tag.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/Issue/Tag.hs b/app/Issue/Tag.hs index 2947ec9..8bbbba9 100644 --- a/app/Issue/Tag.hs +++ b/app/Issue/Tag.hs @@ -13,7 +13,7 @@ import Data.Text (Text, pack) import Data.Text qualified as T import Data.Time.Clock (UTCTime (utctDay)) import GHC.Generics (Generic) -import Issue.Provenance (Provenance (..), Commit(..)) +import Issue.Provenance (Commit (..), Provenance (..)) data Tag = Tag Text (Maybe Text) deriving (Show, Generic, Binary, Eq) @@ -46,7 +46,8 @@ internalTags title provenance' = maybe [] ( \provenance -> - [ Tag "createdAt" $ Just $ pack $ show $ utctDay provenance.first.date + [ Tag "createdAt" $ Just $ pack $ show $ utctDay provenance.first.date, + Tag "modifiedAt" $ Just $ pack $ show $ utctDay provenance.last.date ] ) provenance' |