TheGU / fin-ally

Automatically exported from code.google.com/p/fin-ally
GNU General Public License v3.0
0 stars 0 forks source link

handle years in date-based filtering #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As per issue 46, a date-based filter has been added, but it does not currently 
handle the years correctly. There are many different ways to implement this in 
terms of the date controls, and they need to be evaluated. The simplest method 
is probably to add a year drop-down selector, but this isn't very elegant.

(ideally, a google finance-esque slider that encompasses both start date and 
range would be used - but this doesn't exist in wxPython, and it is non-trivial 
to implement)

Original issue reported on code.google.com by Daniel.S...@gmail.com on 31 Oct 2010 at 5:11

GoogleCodeExporter commented 9 years ago
A drop-down selector for the year has been selected, and it has been stitched 
into the database and filterPanel classes so that we can see things past 
December 31st, 2010. Now the tool is smart enough to move across year breaks 
and show you the appropriate months. 

The algorithm for handling year roll-over is not smart enough to formulaic-ally 
handle multiple years, and this is a final update that should be made. Right 
now it basically determines if the startMonth + monthRange crosses a year 
boundary, and if so bumps the year by one and removes 12 from startMonth + 
monthRange.  

Original comment by Daniel.S...@gmail.com on 20 Dec 2010 at 10:56

GoogleCodeExporter commented 9 years ago

Original comment by Daniel.S...@gmail.com on 23 Dec 2010 at 3:09

GoogleCodeExporter commented 9 years ago

Original comment by Daniel.S...@gmail.com on 23 Dec 2010 at 3:15