Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Currency and Date formats #6563


User avatar
0
aggarwal created

Hi,

I am using AspZero 6.5 - asp .net Core MC = jquery.

How can I change the Currency code and Symbol to GBP/£?

Also, how can I display the date in Uk format as dd/mm/yyyy ?

Is there a setting somewhere as the change in Const file does not seem to work.

Regards, Vikas


6 Answer(s)
  • User Avatar
    0
    ryancyq created
    Support Team

    Hi, date/currency format will follow the language/culture being configured per tenant.

    you can refer to https://docs.aspnetzero.com/documents/zero/latest/Development-Guide-Core#language-management

  • User Avatar
    0
    aggarwal created

    hi @ryancyq

    Thanks for picking up. Lets park language for now.

    I want to setup Features and billing plans in GBP. I would also like to configure stripe integration with stipe with all charges in GBP.

    I have setup following in AppNameConsts.cs, but it does not seem to work.

        public const string Currency = "GBP";
    
        public const string CurrencySign = "£";
        
        
    
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @aggarwal

    Are you on v6.7 ? If so, could you share what is not working so we can fix it for v6.8.

  • User Avatar
    0
    aggarwal created

    Hi @ismcagdas,

    I am on 6.5.

    I want to offer GBP as the billing currency, however onlu USD comes up when creating a new edition.

  • User Avatar
    0
    aggarwal created

    Let me try upgrading to 6.7 and retry.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Yes, it is done in 6.7, you can check https://github.com/aspnetzero/aspnet-zero-core/pull/2178