Fixed regression on timed update

This commit is contained in:
emeric
2018-09-12 13:03:33 +02:00
parent f838717d8e
commit d0dfcf8dad
+2 -2
View File
@@ -47,7 +47,7 @@ getNextMonday(Wt::WDate current)
{
do
{
current.addDays(1);
current = current.addDays(1);
} while (current.dayOfWeek() != 1);
return current;
@@ -58,7 +58,7 @@ getNextFirstOfMonth(Wt::WDate current)
{
do
{
current.addDays(1);
current = current.addDays(1);
} while (current.day() != 1);
return current;