X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FWebInterfaceModule.kt;h=283b1eae2a92624276783b84d54593423449ca53;hp=dd5e9f66d7c1e06ec4b5d451c9b8649ad2de40bf;hb=6579401cd867c5ade1ebf098d64d85dc2016defe;hpb=112c4ef993b578e7ffc572b7eadd625136550017 diff --git a/src/main/kotlin/net/pterodactylus/sone/web/WebInterfaceModule.kt b/src/main/kotlin/net/pterodactylus/sone/web/WebInterfaceModule.kt index dd5e9f6..283b1ea 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/WebInterfaceModule.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/WebInterfaceModule.kt @@ -65,6 +65,7 @@ class WebInterfaceModule : AbstractModule() { addFilter("reparse", ReparseFilter()) addFilter("unknown", unknownDateFilter) addFilter("format", FormatFilter()) + addFilter("duration", DurationFormatFilter()) addFilter("sort", CollectionSortFilter()) addFilter("image-link", imageLinkFilter) addFilter("replyGroup", ReplyGroupFilter())