CodeBeam.MudBlazor.Extensions icon indicating copy to clipboard operation
CodeBeam.MudBlazor.Extensions copied to clipboard

Add Timezone optional parameter for watch

Open michaelswells opened this issue 3 years ago • 4 comments

It would be great to fix the time to a specific TimeZone, i.e., Eastern Standard Time (UTC-5) regardless of where the client is located or where the application is hosted.

michaelswells avatar Jan 29 '23 23:01 michaelswells

I could try to change it, which one should ı try? Client timezone or hosted timezone?

ErtanTaner avatar Jul 23 '23 14:07 ErtanTaner

I could try to change it, which one should ı try? Client timezone or hosted timezone?

I think user should define their own timezone. And we can also set a parameter named DefaultTimezone that has both client and server options, if possible

mckaragoz avatar Jul 24 '23 04:07 mckaragoz

@mckaragoz Mehmet, ı tried to understand codebase and implement the feature but couldn't understand. Sorry, ı think someone should add this.

ErtanTaner avatar Jul 25 '23 17:07 ErtanTaner

More information: I was envisioning that an attribute is used to indicate which timezone is passed in, e.g., <MudWatch TimeZone="Eastern Standard Time" ... />. If the attribute is missing, then use the current behavior.

michaelswells avatar Aug 02 '23 11:08 michaelswells