Skip to content

Commit

Permalink
Time: Added support for formulas in TimeZone
Browse files Browse the repository at this point in the history
  • Loading branch information
smurfier authored and poiru committed Sep 24, 2012
1 parent 032c791 commit 7a79e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/MeasureTime.cpp
Expand Up @@ -247,7 +247,7 @@ void CMeasureTime::ReadOptions(CConfigParser& parser, const WCHAR* section)
}
else
{
double zone = wcstod(timezone, NULL);
double zone = parser.ParseDouble(timezone, 0.0);
bool dst = 1 == parser.ReadInt(section, L"DaylightSavingTime", 1);

struct tm* today;
Expand Down

0 comments on commit 7a79e77

Please sign in to comment.