~migadu

Lugano, Switzerland

https://www.migadu.com

~migadu/alps-devel

Last active 6 months ago

~migadu/alps-announce

Last active 3 years ago
View more

Recent activity

Re: [PATCH koushin 3/3] Listing of messages should use a more friendly date/time format 4 years ago

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()

Re: [PATCH koushin 3/3] Listing of messages should use a more friendly date/time format 4 years ago

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()