struct tm tm = *localtime(&now);
asprintf(&details.field_value[7], "%04d-%02d-%02dT%02d:%02d:%02d.%01dZ",
tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
struct tm tm = *localtime(&now);
asprintf(&details.field_value[7], "%04d-%02d-%02dT%02d:%02d:%02d.%01dZ",
tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,