Skip to content

Commit

Permalink
qlop: improve readability of default duration format
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/945271
Signed-off-by: Patrick Nagel <mail@patrick-nagel.net>
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
  • Loading branch information
nagelp authored and grobian committed Dec 2, 2024
1 parent 3a525dc commit 1833294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qlop.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ static char *fmt_elapsedtime(struct qlop_mode *flags, time_t e)
GREEN, (size_t)ss, NORM);
} else if (mm > 0) {
snprintf(_elapsed_buf, sizeof(_elapsed_buf),
"%s%zd%s′%s%02zd%s″",
"%s%zd%sm%s%02zd%ss",
GREEN, (size_t)mm, NORM,
GREEN, (size_t)ss, NORM);
} else {
Expand Down

0 comments on commit 1833294

Please sign in to comment.