diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-01-19 10:06:06 -1000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-01-19 10:06:06 -1000 |
| commit | a32f3fe5e1b921e574caf7419b90cd5a2f0730a1 (patch) | |
| tree | bed6e9267c84d12651114d94703a9ffe7999c69c /internal | |
| parent | bff78e417d2bf41e16eb1e4141bcaaa7d2d566e0 (diff) | |
Set Quick Add due date default to today
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/handlers/tabs.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/handlers/tabs.go b/internal/handlers/tabs.go index ffdabb0..1afdd06 100644 --- a/internal/handlers/tabs.go +++ b/internal/handlers/tabs.go @@ -113,9 +113,11 @@ func (h *TabsHandler) HandleTasks(w http.ResponseWriter, r *http.Request) { data := struct { Atoms []models.Atom Boards []models.Board + Today string }{ Atoms: atoms, Boards: boards, + Today: time.Now().Format("2006-01-02"), } if err := h.templates.ExecuteTemplate(w, "tasks-tab", data); err != nil { |
