removed: dependencies to 'tz' system structure
now we are using PT::Date from pikotools git-svn-id: svn://ttmath.org/publicrep/winix/trunk@839 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -30,9 +30,9 @@ void winix_cur_time(Info & i)
|
||||
{
|
||||
static char buffer[100];
|
||||
|
||||
tm rtm = Time(std::time(0));
|
||||
PT::Date & date = cur->request->start_date;
|
||||
|
||||
sprintf(buffer, "%02d:%02d:%02d", rtm.tm_hour, rtm.tm_min, rtm.tm_sec);
|
||||
sprintf(buffer, "%02d:%02d:%02d", date.hour, date.min, date.sec);
|
||||
i.out << buffer;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user