FS-4765 --resolve

This commit is contained in:
Anthony Minessale 2012-10-25 12:55:50 -05:00
parent 6e919cd43b
commit b8c0d3564c
1 changed files with 1 additions and 1 deletions

View File

@ -5415,7 +5415,7 @@ SWITCH_STANDARD_API(strftime_tz_api_function)
} }
if (zstr(format)) { if (zstr(format)) {
format = "%Y-%m-%d"; format = "%Y-%m-%d %T";
} }
if (format && switch_strftime_tz(tz_name, format, date, sizeof(date), when * 1000000) == SWITCH_STATUS_SUCCESS) { /* The lookup of the zone may fail. */ if (format && switch_strftime_tz(tz_name, format, date, sizeof(date), when * 1000000) == SWITCH_STATUS_SUCCESS) { /* The lookup of the zone may fail. */