Timestamps were displayed as 0H 2H ... 22H for graphs created with a
command like "sadf -g -O oneday...".
They are now displayed as 0:00 2:00 ... 22:00
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
*/
if (DISPLAY_ONE_DAY(flags) && (rectime.tm_min == 0)) {
printf("<text x=\"%ld\" y=\"15\" style=\"fill: white; stroke: none; font-size: 14px; "
- "text-anchor: start\">%2dH</text>\n",
- (long) (xpos * j * xfactor) - 8, rectime.tm_hour);
+ "text-anchor: start\">%2d:00</text>\n",
+ (long) (xpos * j * xfactor) - 15, rectime.tm_hour);
}
else {
printf("<text x=\"%ld\" y=\"10\" style=\"fill: white; stroke: none; font-size: 12px; "