How to make MUI TimePicker use UTC? (I really need this help)
Hi guys, I've been killing myself trying to do this, and I would really appreciate it if someone could help me, because I'm going crazy and I have to do this asap....
I know a lot of you guys hate MUI, but if anyone can help me, please do.
I'm using a time picker, and I need that time picker to always show time in UTC to be in sync with the backend etc.
I'm using a dayjs adapter. This is my code:
I tried using dayjs plugins to set current timezone as well, but no luck:
Always results in my current timezone (GMT+1):
If anyone can help, I'd really appreciate it, thanks.
2 Replies