sadf -g -t should not display "UTC" but the real time zone of the user
who created the datafile.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
if (!PRINT_LOCAL_TIME(flags)) {
printf("<text x=\"-10\" y=\"30\" style=\"fill: #%06x; stroke: none; font-size: 12px; "
- "text-anchor: end\">UTC</text>\n",
- svg_colors[palette][SVG_COL_INFO_IDX]);
+ "text-anchor: end\">%s</text>\n",
+ svg_colors[palette][SVG_COL_INFO_IDX],
+ PRINT_TRUE_TIME(flags) ? svg_p->file_hdr->sa_tzname : "UTC");
}
}