From 65308f0ca8b6181098e7844d30d0c850580303df Mon Sep 17 00:00:00 2001 From: Rottler Tamas Date: Tue, 15 Aug 2023 12:53:27 +0200 Subject: [PATCH] print time az 'Z' for UTC --- vmw_vm_uptime | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmw_vm_uptime b/vmw_vm_uptime index c89261c..8b30a1c 100755 --- a/vmw_vm_uptime +++ b/vmw_vm_uptime @@ -91,7 +91,7 @@ def main(): uptimestr += f"{uptime // 3600:2}h" boottime = vm.runtime.bootTime if boottime: - boottime = boottime.strftime('%Y-%m-%d %H:%M') + boottime = boottime.strftime('%Y-%m-%d %H:%MZ') else: boottime = 'off' uptimestr = '-'