[pve-devel] applied: [PATCH v2 common 2/6] format: handle undef, 0, and decimals in render_duration
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Feb 8 15:04:04 CET 2021
On 08.02.21 12:15, Stefan Reiter wrote:
> Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
> ---
>
> This might be a "breaking" change for some situations, but I believe this should
> be more correct in the long run... If this is not wanted, we must do a ceil() or
> similar on the value passed in from patch 4/6, otherwise it will not print a
> time value for the first iteration.
>
> src/PVE/Format.pm | 6 ++++--
> test/format_test.pl | 6 ++++--
> 2 files changed, 8 insertions(+), 4 deletions(-)
>
>
applied, thanks!
More information about the pve-devel
mailing list