add timezone info to times -- only used currently for hours of operation
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 24 Mar 2008 17:59:52 +0000 (17:59 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 24 Mar 2008 17:59:52 +0000 (17:59 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9124 dcc99617-32d9-48b4-a31d-7c20da2025e4

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 {