Time: Added support for formulas in TimeZone

This commit is contained in:
John Murphy 2012-09-24 17:22:46 +03:00 committed by Birunthan Mohanathas
parent 032c7914f7
commit 7a79e77051

View File

@ -247,7 +247,7 @@ void CMeasureTime::ReadOptions(CConfigParser& parser, const WCHAR* section)
} }
else else
{ {
double zone = wcstod(timezone, NULL); double zone = parser.ParseDouble(timezone, 0.0);
bool dst = 1 == parser.ReadInt(section, L"DaylightSavingTime", 1); bool dst = 1 == parser.ReadInt(section, L"DaylightSavingTime", 1);
struct tm* today; struct tm* today;