Address review comments:
[collectd.git] / src / postgresql.c
index 084eae4..c92f6ee 100644 (file)
@@ -833,6 +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);
 
+       /* TODO: Should this be rfc3339nano_local()? */
        if (rfc3339nano (time_str, sizeof (time_str), vl->time) != 0) {
                log_err ("c_psql_write: Failed to convert time to RFC 3339 format");
                return -1;