The day before today Mike Murdock found a bug making switch_str_time return the day before, but it was already the day before today, so it returned 2 days ago, and that was just not right. Now time has all come back together.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3933 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
09384634cc
commit
a17123dae4
|
@ -148,7 +148,7 @@ SWITCH_DECLARE(switch_time_t) switch_str_time(char *in)
|
|||
|
||||
if (proceed > 3) {
|
||||
pcre_copy_substring(in, ovector, proceed, 3, replace, sizeof(replace));
|
||||
tm.tm_mday = atoi(replace)-1;
|
||||
tm.tm_mday = atoi(replace);
|
||||
}
|
||||
|
||||
if (proceed > 4) {
|
||||
|
|
Loading…
Reference in New Issue