Open Closed

generate hijri dateTime on iis #3670


User avatar
0
yasin.hallak.89@gmail.com created
  • ABP Framework version: v5.0.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

Hi there .

We have issue related with datetime .

When run my app on local it generate datetime with Gregorian and it is ok like below

but when publish my app to iis server and run it generate datetime with hijri like below

I asked here because I think this issue related to abp .

I have another project on iis build in with asp.net pure without abp framework , it works well and generate datetime with Gregorian .

can you help me please .


5 Answer(s)
  • User Avatar
    0
    malik.masis created

    Hi Yasin,

    Could you config your website on IIS as the mention here, please?

    • Open IIS 7
    • Select your website
    • Open .NET GLOBALIZATION
    • From Culture tab, select required Culture and UI Culture.
    • Do iisreset

    It may related own configuration

  • User Avatar
    0
    yasin.hallak.89@gmail.com created

    Hi Yasin,

    Could you config your website on IIS as the mention here, please?

    • Open IIS 7
    • Select your website
    • Open .NET GLOBALIZATION
    • From Culture tab, select required Culture and UI Culture.
    • Do iisreset

    It may related own configuration

    Thanx . I will trying and tell you

  • User Avatar
    0
    yasin.hallak.89@gmail.com created

    Hi Yasin,

    Could you config your website on IIS as the mention here, please?

    • Open IIS 7
    • Select your website
    • Open .NET GLOBALIZATION
    • From Culture tab, select required Culture and UI Culture.
    • Do iisreset

    It may related own configuration

    Hi Malik ..

    I set Culture and UI Culture to (en), the system converted to english as a default language and generate DateTime Gregorian .

    but I want to set default language in arabic . when I set Culture and UI Culture to (ar), the system converted to arabic as a default

    language and generate DateTime Hijri .

    How can I set Default language in arabic and generate dateTime Gregorian .

  • User Avatar
    0
    malik.masis created

    Hi Yasin,

    ABP supports all .net features hence it's not an issue unique to the framework. Even so, hopefully, this helps you to solve your problem.

    Regards.

  • User Avatar
    0
    yasin.hallak.89@gmail.com created

    Hi Yasin,

    ABP supports all .net features hence it's not an issue unique to the framework. Even so, hopefully, this helps you to solve your problem.

    Regards.

    Hi Malik .

    I found solving for my Problem from another resourecs

    Thanks

Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35