खुला हुआ बंद किया हुआ

Angular: Localization - display of date & time in user's local timezone format #312


User avatar
0
Repunjay बनाया था

Hi,

Is there a way in ABP.IO to determine user local timezone when they login and based on it display the date and time into local timezone and format? We are storing date and time in GMT+0 in database. Note - the UI is developed in Angular

Thanks & regards, Repunjay


1 उत्तर (ओं)
  • User Avatar
    0
    alper बनाया था
    सहायता दल Director

    hi,

    yes, you can find current user's timezone and datetşne format. after login, Angular client makes request to http://alper-2.demo.commercial.abp.io/api/abp/application-configuration and gets user's culture & time zone & date time format etc.. see this

Made with ❤️ on ABP v8.2.0-preview Updated on मार्च 25, 2024, 15:11