projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'pr/1918'
[collectd.git]
/
src
/
postgresql.c
diff --git
a/src/postgresql.c
b/src/postgresql.c
index
084eae4
..
8b60949
100644
(file)
--- a/
src/postgresql.c
+++ b/
src/postgresql.c
@@
-833,7
+833,7
@@
static int c_psql_write (const data_set_t *ds, const value_list_t *vl,
assert (db->database != NULL);
assert (db->writers != NULL);
assert (db->database != NULL);
assert (db->writers != NULL);
- if (rfc3339nano (time_str, sizeof (time_str), vl->time) != 0) {
+ if (rfc3339nano
_local
(time_str, sizeof (time_str), vl->time) != 0) {
log_err ("c_psql_write: Failed to convert time to RFC 3339 format");
return -1;
}
log_err ("c_psql_write: Failed to convert time to RFC 3339 format");
return -1;
}