Holidays and dates

- improved dateformat handling now defaulting to YMD set via
  dateformat.holiday variable
- fixed missing sorting in holiday table output when running
  calendar.holidays=full
- renamed reportdateformat to dateformat.report
- added config file checking for calendar.holidays and calendar.details
- added 2 holiday files for SE and US (watertown, MA)
This commit is contained in:
Federico Hernandez 2010-01-25 01:06:15 +01:00
parent 545013e839
commit 401f1b6496
10 changed files with 114 additions and 23 deletions

View file

@ -363,7 +363,7 @@ int runCustomReport (
std::string format = context.config.get ("report." + report + ".dateformat");
if (format == "")
format = context.config.get ("reportdateformat");
format = context.config.get ("dateformat.report");
if (format == "")
format = context.config.get ("dateformat");