public inbox for pmg-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pmg-devel] applied: [PATCH pmg-gui] virusquarantine: fix time format
@ 2021-06-14  8:19 Stoiko Ivanov
  0 siblings, 0 replies; only message in thread
From: Stoiko Ivanov @ 2021-06-14  8:19 UTC (permalink / raw)
  To: pmg-devel

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>
---
directly applied this one, since it's a very small change. Additionally quickly
skimmed through the pmg-gui sources for other occurences of 'm' for minutes.
 js/VirusQuarantine.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js/VirusQuarantine.js b/js/VirusQuarantine.js
index 6ff1c17..7f27188 100644
--- a/js/VirusQuarantine.js
+++ b/js/VirusQuarantine.js
@@ -147,7 +147,7 @@ Ext.define('PMG.VirusQuarantine', {
 		    xtype: 'datecolumn',
 		    header: gettext('Time'),
 		    dataIndex: 'time',
-		    format: 'H:m:s',
+		    format: 'H:i:s',
 		},
 	    ],
 	},
-- 
2.20.1





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-14  8:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-14  8:19 [pmg-devel] applied: [PATCH pmg-gui] virusquarantine: fix time format Stoiko Ivanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal