Skip to content
Extraits de code Groupes Projets
  1. nov. 27, 2014
  2. nov. 25, 2014
  3. nov. 07, 2014
  4. oct. 05, 2014
  5. sept. 09, 2014
  6. sept. 08, 2014
  7. mars 16, 2014
  8. nov. 04, 2013
  9. juil. 02, 2013
  10. mai 27, 2013
  11. mars 03, 2013
  12. oct. 20, 2012
  13. nov. 04, 2011
  14. oct. 31, 2011
  15. sept. 13, 2011
  16. mars 29, 2011
  17. mars 25, 2011
  18. mars 21, 2011
    • mattpiwik's avatar
      Refs #572 · 238ab135
      mattpiwik a rédigé
       * Implementing Custom Date range in Core, eg "period=range&date=2010-01-05,2010-02-03"
       * Only the requested plugin's report will be processed, ensuring fast responses
       * when a large period is requested, the code will try and select an optimal number of sub periods (see Range.test.php) - a mix of weeks, months and days inside the requested range
       * adding integration testing + unit test for optimal subperiods algorithm
      
      TODO
       * we should also use Yearly archives whenever possible (when date range is very large)
       * if custom date range start date == website creation date or before, can use more optimal subperiods (using starting month / year / week)
       * Test/implement "last N days" 
       * Test with timezones when the custom date range ends today
       * UI to allow selecting custom range (show 2 calendars)
       * Update API reference doc + add example in API page listing
       * Add "last 7 days", "last 30 days" in the user settings for "Default date to load"
       
      NB: 3 tests fail in Main.test.php on my box, but I'm really not sure why... let's see if Jenkins fails as well
      
      git-svn-id: http://dev.piwik.org/svn/trunk@4159 59fd770c-687e-43c8-a1e3-f5a4ff64c105
      238ab135
Chargement en cours