arbtt: categorize by day

Joachim Breitner mail at joachim-breitner.de
Fri Jan 29 20:54:05 CET 2010


Hi Sergey,

Am Freitag, den 29.01.2010, 16:34 +0100 schrieb Sergey Astanin:
> I try to figure out how to configure arbtt categorizer, and don't see a 
> way to define such categories as "today", "yesterday", "this week", 
> "last week" etc.
> 
> It might be nice to be able to categorize by calendar date boundaries.

the time based categorization features are quite limited at the moment.
What you have is $time, which is the time since 0:00 that day, and
$sampleage, which is the time span from when the sample was created
until now. So you can say
$sampleage <= 24:00 ==> tag last-day,
and
$sampleage <= 168 ==> tag last-week,
but it will be a „floating“ specification, not tied to any calendar
boundaries.

More advanced time management features are in my mind, but I can’t
promise any deadlines. I’m always happy to receive patches, though.

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
  mail: mail at joachim-breitner.de | ICQ# 74513189 | GPG-Key: 4743206C
  JID: nomeata at joachim-breitner.de | http://www.joachim-breitner.de/
  Debian Developer: nomeata at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <https://lists.nomeata.de/pipermail/arbtt/attachments/20100129/30e4d7e8/attachment.asc>


More information about the arbtt mailing list