Permalink
Browse files

Time: Added support for formulas in TimeZone

  • Loading branch information...
smurfier authored and poiru committed Sep 24, 2012
1 parent 032c791 commit 7a79e770518c3d3e3a99be69e1651d635523760d
Showing with 1 addition and 1 deletion.
  1. +1 −1 Library/MeasureTime.cpp
View
@@ -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;

0 comments on commit 7a79e77

Please sign in to comment.