-
-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cron job: Show two hour digits instead of only one ... #1663
Comments
Sure, we'll do this in the next release... |
You should install |
I will only point out that if i change something in the |
I have always follow the instructions and that is to add If there are other ways to do it, I have no idea ... |
Please check these instructions: https://webmin.com/download/ |
That is something i never have seen. Must be something new ... And i already have Webmin installed. |
OS? |
Debian Linux 11 (DietPi) and Ubuntu Linux 22.04.2. That Webmin page did not looked like that the last time i was there, but it was a couple of years ago. This is how i install Webmin: |
Try installing locale-related Perl dependencies:
|
All the above Perl dependencies was already installed.
|
I have now updated to Webmin 2.100 and it seems that you have removed the date format from It seems that the hour now have two digits, but it will still show 12H and not 24H even after i changed Locale to Swedish. The Language i use is still English. |
Well, now I see the bug that's causing it. You can update theme to the latest development version from theme configuration page to have it fixed. Give it a try. |
I'm now running AT 21.02, but i still get 12H. I tried to cleared the cache too, but no luck 😥 |
I'm pretty sure it should work! Try incognito tab to make sure that cache isn't in the way. Also, make sure that you set the correct locale for the user. If it doesn't work, provide screenshots for locale select and the dashboard .. |
I'm pretty sure it also works with local locale settings too! At least it works for me in all tests. |
I did have some custom date/time before that you helped me to add, but it seems that you have removed it or should i say, i can't find it. Could that be the reason it is not working now? |
Could you remind me what was that exactly? |
It must have been #667 |
Yeah, changing format for dates may have an effect. Try running in the browser's console:
|
Is there a way I could remotely login to that system and have a look? |
By the way, the latest theme version is 21.03. |
No difference after update to 21.03 |
You need to install dependencies:
|
It seems that there was a lot of them missing 😁 |
I wanted to see if all three Webmin's have the same behaviours and they do. They all show 12H when changing to Locale Sverige when i select that in the Personal choice. It will only work if i change the Global locale. |
I'm glad it works for you. I have run more tests on Debian 12 with all the latest patches applied and it worked for me in both user-defined and global mode .. I am not sure what was happening on your side .. |
No, it is not working. I need to change the Global locale for it to work. Why did you add Personal choice when it is not working? |
If you open browser console and run |
|
That just has to work then! I really don't know why it's not working for you .. Sorry .. Does this happen for you on all systems you tried? Is this Debian 11? |
If i change Global locale to English, but keep Personal choice to Sverige i get this:
|
Two are running Debian 11 and one is running Ubuntu Linux 22.04.2. |
What browser is this exactly, and which version and on which OS? |
I'm running Firefox 105.0.2 on Windows 10 22H2 x64, but i did a test in Chrome and it was no difference. 🙁 |
Yet, it still works for me immaculately! I really don't understand what's happening on your side. What is the out put of the following command on your system?
|
|
Do you have Use language specified by browser? enabled by any chance in Webmin ⇾ Webmin Configuration: Language and Locale page? |
I'm sorry that I cannot help you with solving this issue! I don't know what's wrong. It simply works for me on literally all ten different machines I have tried. Send me via email your |
Are you logged in as root or with a user that has sudo privileges? |
Alright, now I see the bug! Discussion related to this issue is also here webmin/webmin@407ce7e. |
@Sopor This bug was fixed in the latest Webmin nightly version. Although, @jcameron I'm surprised that root-capable user cannot have its own specific theme, language and locale set. It doesn't seem right. I'm not sure why this is like this, as it doesn't seem hard to implement. I was going to do it now but decided that it would be better to postpone it. Should I add this to my todo to the next Webmin release (after 2.101)? |
In the cron job i have a column called
Run at times
that will show when the next run will be.In Sweden we have 24H and when we write the time we always use two hour digits even if the hour is between 0 and 9.
So if you can see here it will only show one digit as it was 12H:
Is it possible to make it show 04:00, 03:10 and so on?
The text was updated successfully, but these errors were encountered: