~migadu

Zurich

https://www.migadu.com

~migadu/alps-devel

Last active a month ago

~migadu/alps-announce

Last active 2 months ago
View more

Recent activity

Re: [PATCH koushin 3/3] Listing of messages should use a more friendly date/time format 1 year, 3 days ago

From Dejan Strbac to ~emersion/alps-dev

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 1 year, 3 days 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 1 year, 3 days 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()