create date correctly for pom file

This commit is contained in:
Anish Lakhwara 2024-05-25 03:20:59 -07:00
parent 457dd298bd
commit d2ce0cc991

View file

@ -82,7 +82,7 @@ func (m model) writeFile() string {
defer f.Close()
fmt.Fprintln(f, "%title ")
fmt.Fprintln(f, ":pom:priv:plan:")
fmt.Fprintln(f, "%date "+path)
fmt.Fprintln(f, "%date "+t.Format("2006-01-02 15:06"))
fmt.Fprintln(f, "")
rows := task.RowsToFile(m.taskList.Rows(), m.taskList.ActiveIndex())