Context: Initialize ISO8601::weekstart

This commit is contained in:
Paul Beckingham 2015-09-26 12:40:56 -04:00
parent 12aeecc73f
commit 541e9eec30
3 changed files with 8 additions and 0 deletions

View file

@ -37,6 +37,7 @@
#include <FS.h>
#include <Eval.h>
#include <Variant.h>
#include <ISO8601.h>
#include <text.h>
#include <util.h>
#include <main.h>
@ -634,6 +635,8 @@ void Context::staticInitialization ()
TDB2::debug_mode = config.getBoolean ("debug");
ISO8601d::weekstart = config.get ("weekstart");
for (auto& rc : config)
{
if (rc.first.substr (0, 4) == "uda." &&