[open-ils-commits] r9123 - trunk/Open-ILS/src/c-apps
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Mar 24 14:22:28 EDT 2008
Author: miker
Date: 2008-03-24 13:47:25 -0400 (Mon, 24 Mar 2008)
New Revision: 9123
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 15:41:09 UTC (rev 9122)
+++ trunk/Open-ILS/src/c-apps/oils_cstore.c 2008-03-24 17:47:25 UTC (rev 9123)
@@ -3284,7 +3284,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