create date correctly for pom file
This commit is contained in:
parent
457dd298bd
commit
d2ce0cc991
2
main.go
2
main.go
|
@ -82,7 +82,7 @@ func (m model) writeFile() string {
|
||||||
defer f.Close()
|
defer f.Close()
|
||||||
fmt.Fprintln(f, "%title ")
|
fmt.Fprintln(f, "%title ")
|
||||||
fmt.Fprintln(f, ":pom:priv:plan:")
|
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, "")
|
fmt.Fprintln(f, "")
|
||||||
|
|
||||||
rows := task.RowsToFile(m.taskList.Rows(), m.taskList.ActiveIndex())
|
rows := task.RowsToFile(m.taskList.Rows(), m.taskList.ActiveIndex())
|
||||||
|
|
Loading…
Reference in a new issue