aboutsummaryrefslogtreecommitdiff
path: root/plugins/caldav
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/caldav')
-rw-r--r--plugins/caldav/plugin.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/plugins/caldav/plugin.go b/plugins/caldav/plugin.go
index e8d14a9..03f8214 100644
--- a/plugins/caldav/plugin.go
+++ b/plugins/caldav/plugin.go
@@ -2,10 +2,8 @@ package alpscaldav
import (
"fmt"
- "html/template"
"net/http"
"net/url"
- "time"
"git.sr.ht/~emersion/alps"
)
@@ -64,21 +62,6 @@ func newPlugin(srv *alps.Server) (alps.Plugin, error) {
registerRoutes(&p, u)
- p.TemplateFuncs(template.FuncMap{
- "formatinputdate": func(t time.Time) string {
- if t.IsZero() {
- return ""
- }
- return t.Format(inputDateLayout)
- },
- "formatinputtime": func(t time.Time) string {
- if t.IsZero() {
- return ""
- }
- return t.Format(inputTimeLayout)
- },
- })
-
return p.Plugin(), nil
}