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

git-svn-id: svn://ttmath.org/publicrep/pikotools/trunk@415 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
Tomasz Sowa 2012-05-27 23:50:10 +00:00
parent 03bac5721d
commit e775728f6b
1 changed files with 2 additions and 0 deletions

View File

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