this allows us to set the timezone of a container in the options menu. Signed-off-by: Oguz Bektas <o.bek...@proxmox.com> --- v2->v3: no change
www/manager6/lxc/Options.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/www/manager6/lxc/Options.js b/www/manager6/lxc/Options.js index 40bde35f..f6e457a3 100644 --- a/www/manager6/lxc/Options.js +++ b/www/manager6/lxc/Options.js @@ -140,6 +140,19 @@ Ext.define('PVE.lxc.Options', { editor: Proxmox.UserName === 'root@pam' ? 'PVE.lxc.FeaturesEdit' : undefined }, + timezone: { + header: gettext('Time zone'), + defaultValue: 'CT managed', + deleteDefaultValue: true, + deleteEmpty: true, + editor: caps.vms['VM.Config.Options'] ? { + xtype: 'proxmoxWindowEdit', + items: { + xtype: 'PVETimezonePanel', + subject: gettext('Time zone'), + } + } : undefined + }, hookscript: { header: gettext('Hookscript') } -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel