added: Date::ToTm() now sets tm_wday too

git-svn-id: svn://ttmath.org/publicrep/pikotools/trunk@415 e52654a7-88a9-db11-a3e9-0013d4bc506e
master
Tomasz Sowa 11 years ago
parent 03bac5721d
commit e775728f6b

@ -424,6 +424,8 @@ tm t;
t.tm_hour = hour;
t.tm_min = min;
t.tm_sec = sec;
t.tm_wday = WeekDay();
// t.tm_yday is not set
return t;
}

Loading…
Cancel
Save