]> git.proxmox.com Git - pmg-gui.git/commitdiff
virusquarantine: fix time format
authorStoiko Ivanov <s.ivanov@proxmox.com>
Mon, 14 Jun 2021 08:06:41 +0000 (10:06 +0200)
committerStoiko Ivanov <s.ivanov@proxmox.com>
Mon, 14 Jun 2021 08:06:41 +0000 (10:06 +0200)
Ext js orients itself on php's date function, which uses 'i' for
minutes ('m' is the month as integer)[0].

Reported via our community-forum:
https://forum.proxmox.com/threads/time-display-bug-in-virus-quarantine.90816/

Quickly tested on my test-setup

[0] https://docs.sencha.com/extjs/7.0.0/modern/Ext.Date.html
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
js/VirusQuarantine.js

index 6ff1c170181bae2028bd70f528931cfa7ee530ab..7f2718846bb939efc98bc6492ac9cbf263672e7e 100644 (file)
@@ -147,7 +147,7 @@ Ext.define('PMG.VirusQuarantine', {
                    xtype: 'datecolumn',
                    header: gettext('Time'),
                    dataIndex: 'time',
-                   format: 'H:m:s',
+                   format: 'H:i:s',
                },
            ],
        },