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;
}
plugin_register_complex_config("postgresql", c_psql_config);
plugin_register_shutdown("postgresql", c_psql_shutdown);
} /* module_register */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */