[open-ils-commits] r9124 - trunk/Open-ILS/src/c-apps
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Mar 24 14:34:55 EDT 2008
Author: miker
Date: 2008-03-24 13:59:52 -0400 (Mon, 24 Mar 2008)
New Revision: 9124
Modified:
trunk/Open-ILS/src/c-apps/oils_cstore.c
Log:
add timezone info to times -- only used currently for hours of operation
Modified: trunk/Open-ILS/src/c-apps/oils_cstore.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_cstore.c 2008-03-24 17:47:25 UTC (rev 9123)
+++ trunk/Open-ILS/src/c-apps/oils_cstore.c 2008-03-24 17:59:52 UTC (rev 9124)
@@ -3205,7 +3205,7 @@
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 {
More information about the open-ils-commits
mailing list