timesince 'depth' parameter

2020-05-22 Thread Toby Such
Hi all! I've been a little frustrated with the timesince filter that comes with default Django. By default it always comes with 2 parts e.g. 4 hours and 3 minutes ago but I would much rather have just the 4 hours. In my own projects I've simply created my own version of the timesince filter and

Re: timesince 'depth' parameter

2020-05-22 Thread Toby Such
> > On Sat, May 23, 2020 at 12:39 AM Toby Such > wrote: > >> Hi all! >> >> I've been a little frustrated with the timesince filter that comes with >> default Django. By default it always comes with 2 parts e.g. 4 hours and 3 >> minutes ago but

Re: timesince 'depth' parameter

2020-05-23 Thread Toby Such
pact=True` flag. > > On 22 May 2020, at 16:59, Toby Such > > wrote: > > Hi all! > > I've been a little frustrated with the timesince filter that comes with > default Django. By default it always comes with 2 parts e.g. 4 hours and 3 > minutes ago but I would muc