When performing a query, grouping by month, the same month may appear twice in the results with differing values reported. Example .db file attached, query performed on 2/6/11 in GMT+1, results as shown:
c:\\rob>bmclient -mq -gm -r2011
BitMeter OS v0.7.4 Copyright (c) 2011 Rob Dawson
Licenced under the GNU General Public License
From: 2011-01-01 00:00:00
To: 2012-01-01 00:00:00
Apr 2011 DL=5.23 GB UL=486.19 MB
May 2011 DL=5.26 GB UL=489.49 MB
May 2011 DL=619.39 MB UL=91.67 MB
JSON returned from web server for same query:
[
{\"dl\": 5617882433,\"ul\": 509812029,\"ts\": 1304204400,\"dr\": 2217600},
{\"dl\": 5650751095,\"ul\": 513262648,\"ts\": 1306796400,\"dr\": 2592000},
{\"dl\": 649606845,\"ul\": 96137954,\"ts\": 1309474800,\"dr\": 2678400}
]