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:
parent
d140b11caf
commit
48c7bb320e
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue