Base solution for your next web application
Open Closed

Setting the TimeZone and Date Format for a Tenant and also the defaults for the Host? #6049


User avatar
0
jtallon created

Hi there,

I am using ASP.NETCore and Angular.

Set up Demo project with MultiTenancy enabled. How can I (or can I) set the TimeZone and Date Format for a Tenant and also the defaults for the Host?

Regards John


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @jtallon

    You need to set Clock.Provider = ClockProviders.Utc in Startup.cs.

    After that, Tenant and Host can change the timezone setting on the settings page. Also, each user can select his/her tiemzone setting on the "My Settings" modal which can be opened by clicking the username at the top-right corner of the page and the clicking the "My Settings" link.