F
Filament8mo ago
Rahul

DateTimePicker Issue

I am using DateTimePicker field i am using its timezone method i need to show in ui date time in according to timezone() but in db it should save in utc my timezone is 'Asia/Kolkata' its working for that its showing in ui my timezone and saving date in utc in db too but if i put any other time zone its not working its showing time as my local timezone and also not saving data in utc. Forms\Components\DateTimePicker::make('start_time') ->timezone(config('app.user_timezone')) ->required(),
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server