mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Time: Added support for formulas in TimeZone
This commit is contained in:
parent
032c7914f7
commit
7a79e77051
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user