add timezone info to times -- only used currently for hours of operation
[Evergreen.git] / Open-ILS / src / c-apps / oils_cstore.c
index 5b58e08..9b87c8e 100644 (file)
@@ -3205,7 +3205,7 @@ static jsonObject* oilsMakeFieldmapperFromResult( dbi_result result, osrfHash* m
                                        localtime_r( &_tmp_dt, &gmdt );
 
                                        if (!(attr & DBI_DATETIME_DATE)) {
-                                               strftime(dt_string, sizeof(dt_string), "%T", &gmdt);
+                                               strftime(dt_string, sizeof(dt_string), "%T%z", &gmdt);
                                        } else if (!(attr & DBI_DATETIME_TIME)) {
                                                strftime(dt_string, sizeof(dt_string), "%F", &gmdt);
                                        } else {