Fix incorrect variable name.

This commit is contained in:
Gunnar Beutner 2013-04-18 08:24:22 +02:00
parent b40c0995ad
commit 654954c64c
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ void LegacyTimePeriod::ParseTimeSpec(const String& timespec, tm *begin, tm *end,
if (tokens.size() > 1)
FindNthWeekday(wday, n, end);
else
end->tm_mday += - begin->tm_wday + wday;
end->tm_mday += - end->tm_wday + wday;
end->tm_hour = 0;
end->tm_min = 0;