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:
@@ -889,7 +889,7 @@ void Table::sort (std::vector <int>& order)
|
||||
{
|
||||
std::string format = context.config.get ("report." + mReportName + ".dateformat");
|
||||
if (format == "")
|
||||
format = context.config.get ("reportdateformat");
|
||||
format = context.config.get ("dateformat.report");
|
||||
if (format == "")
|
||||
format = context.config.get ("dateformat");
|
||||
|
||||
@@ -913,7 +913,7 @@ void Table::sort (std::vector <int>& order)
|
||||
{
|
||||
std::string format = context.config.get ("report." + mReportName + ".dateformat");
|
||||
if (format == "")
|
||||
format = context.config.get ("reportdateformat");
|
||||
format = context.config.get ("dateformat.report");
|
||||
if (format == "")
|
||||
format = context.config.get ("dateformat");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user