[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-recutils] Aggregates on date fields

From: John Darrington
Subject: [bug-recutils] Aggregates on date fields
Date: Sat, 18 Apr 2015 12:02:04 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

I have a recfile like:

%rec: test
%type: when date

what: something
when: 2014-03-01
when: 2015-08-08

what: something else
when: 2014-04-13
when: 2017-09-02

It would be really nice to be able to apply some aggregation expressions to the 
"when" field,
so as to be able to find the latest event.  For example:

recsel -p what,Max(when)

However when I try it, Max(when) always returns zero.

Can this be made to work in future versions?


PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]