aboutsummaryrefslogtreecommitdiffstats
path: root/plt
diff options
context:
space:
mode:
authorAlvaro Videla <[email protected]>2009-12-25 16:58:47 +0800
committerBjörn Gustavsson <[email protected]>2010-02-14 12:15:09 +0100
commit242c70ed5f0e2b84e9608bace183052e745614ed (patch)
treeea2d08efe827b4fe49c482d95c1d4a6aeb255519 /plt
parente99ec8e235beb16d35e5a940b814061fb87db989 (diff)
downloadotp-242c70ed5f0e2b84e9608bace183052e745614ed.tar.gz
otp-242c70ed5f0e2b84e9608bace183052e745614ed.tar.bz2
otp-242c70ed5f0e2b84e9608bace183052e745614ed.zip
New rb:filter/2 to filter reports by date
The function filter/2 expects a second parameter Dates that can be used to return reports that occurred between the provided dates. Usage: Dec22 = {{2009,12,22},{0,0,0}}. Dec24 = {{2009,12,24},{0,0,0}}. rb:filter(Filters, {Dec22, from}). %will return reports that occurred from Dec22. rb:filter(Filters, {Dec22, to}). %will return reports that occurred before Dec22. rb:filter(Filters, {Dec22, Dec24}). %will return reports that occurred between Dec22 % and Dec24
Diffstat (limited to 'plt')
0 files changed, 0 insertions, 0 deletions