Lugano, Switzerland
From Dejan Strbac to ~sircmpwn/koushin
Thats a good suggestion for renaming. The full date is needed in the message view so we could make the friendly default. On 16.01.20 14:09, Simon Ser wrote: > Any reason why we don't always want to use the friendly format? Maybe we can > rename this to "formatdate" and rename the current "formatdate" function to > "formatfulldate"? > > Templates can add a title attribute with the full date. > >> + "formatlistingdate": func(t time.Time) string { >> + tYear, tMonth, tDay := t.Date() >> + >> + now := time.Now()
From Dejan Strbac to ~migadu/alps-devel
Thats a good suggestion for renaming. The full date is needed in the message view so we could make the friendly default. On 16.01.20 14:09, Simon Ser wrote: > Any reason why we don't always want to use the friendly format? Maybe we can > rename this to "formatdate" and rename the current "formatdate" function to > "formatfulldate"? > > Templates can add a title attribute with the full date. > >> + "formatlistingdate": func(t time.Time) string { >> + tYear, tMonth, tDay := t.Date() >> + >> + now := time.Now()