fausp
(fpausp)
January 10, 2024, 5:11pm
1
I would like to get Europe/Vienna as Timezone under Webtop…
stephdl
(Stéphane de Labrusse)
January 11, 2024, 6:55am
2
hum it comes from java, the list is not static IIRC, does vienna timezone was available in NS7 ?
get_retval = agent.tasks.run(f"module/{mail}",'list-domains')
for kd in get_retval['output']:
if kd['addusers']:
obj = {
"name": key['module_id'],
"label": f"{kd['domain']} ({key['mail_hostname']})",
"value": key['module_id']+','+kd['domain'],
}
modules.append(obj)
# we query about all known timezone and we build a widget
accepted_timezone_list = subprocess.check_output(['podman', 'run', '--rm', os.environ["WEBTOP_WEBAPP_IMAGE"], 'java', '-classpath', '/usr/share/webtop/', 'ListTimeZones'], text=True).splitlines()
for value in accepted_timezone_list:
list_of_timezone_widget.append({
"name": value,
"label": value,
"value": value,
})
# Retrieve all ejabberd servers among the cluster
for key in agent.list_service_providers(rdb,'xmpp','tcp'):
1 Like
davidep
(Davide Principi)
January 11, 2024, 7:25am
3
As workaround you could select any central European timezone, for example Rome
1 Like
fausp
(fpausp)
January 11, 2024, 8:57pm
4
I can only choose btw Africa and America… The list ends with America/Creston.
davidep
(Davide Principi)
January 11, 2024, 9:09pm
5
Look in the browser development console (in Firefox Ctrl+Shift+K) can you see any interesting message?
fausp
(fpausp)
January 11, 2024, 9:44pm
6
Maybe this:
Error: Cannot find module './de/translation.json'
Tbaile
(Tommaso Bailetti)
January 11, 2024, 10:36pm
7
Pretty much sure the dropdown shows only a limited amount of results, have you tried writing in the input box? It should then appear
Error: Cannot find module ‘./de/translation.json’
This is normal, there’s no official translation for the UI yet, here’s the link if you wanna see the UI in your language
2 Likes
GG_jr
(Gabriel GHEORGHIU)
January 12, 2024, 8:51am
8
Try typing Europe/Vienna.
2 Likes
stephdl
(Stéphane de Labrusse)
January 12, 2024, 9:15am
9
I confirm
I can see that we maybe should not have something presented as default and write in the placeholder something that could help the user to write the UTC he is searching
I will fill a card on it
3 Likes
dnutan
(Marc)
January 12, 2024, 12:43pm
10
with a hint to search for the timezone (if the dropdown list size is limited).
2 Likes
davidep
(Davide Principi)
January 15, 2024, 11:22am
11
3 Likes