Skinny: correct define_time_date

The 'day' field is the month day (and not year day).

Fix MODSKINNY-4 and MODSKINNY-7
This commit is contained in:
Mathieu Parent 2010-05-27 11:53:54 +02:00
parent d140b11caf
commit 48c7bb320e
1 changed files with 2 additions and 2 deletions

View File

@ -688,10 +688,10 @@ switch_status_t send_define_current_time_date(listener_t *listener)
tm.tm_year + 1900, tm.tm_year + 1900,
tm.tm_mon + 1, tm.tm_mon + 1,
tm.tm_wday, tm.tm_wday,
tm.tm_yday + 1, tm.tm_mday,
tm.tm_hour, tm.tm_hour,
tm.tm_min, tm.tm_min,
tm.tm_sec + 1, tm.tm_sec,
tm.tm_usec / 1000, tm.tm_usec / 1000,
ts / 1000000); ts / 1000000);
} }