Webmin using incorrect format while updating Hardware time and date

OS type and version Ubuntu server 22…04
Webmin version Latest

In debain and ubuntu correct format is

sudo hwclock --set --date “2023-04-23 00:03:24”

but webmin is using incorrect format which is giving error while updating date and time.

Im getting this error

Can’t set the hardware time : hwclock: invalid date ‘11/20/2023 15:11:30’

I think its because webmin is using wrong format for ubuntu server 22.04. This format works in Almalinux but not in ubuntu.

Please fix it thankyou

1 Like

Use webmin, see how that goes, that’s the reason to have webmin.

1 Like