Dates are displaying in wrong format for Philippines country

Posted by: madhuri.jadhav on 21 September 2022, 10:29 pm EST

  • Posted 21 September 2022, 10:29 pm EST

    Can we get a culture file to support Philippines culture

    With reference to below link
    https://www.grapecity.com/wijmo/docs/GettingStarted/Globalization
    currently Wijmo is supporting around 40 cultures for Globalization and we have one requirement where we have to display dates as per Philippines culture (en-PH -> DD/MM/YYYY). As Wijmo is not supporting that country currently, all dates are getting displayed in en-US (MM/DD/YYYY) format.

    Can we get culture file for that country?
  • Replied 25 September 2022, 11:28 pm EST

    Hello,

    I have created an enhancement request to our Dev team to add a culture file to support Philippines culture with an internal tracking ID WJM-24883. We will provide you an update as soon as we get any response.

    Meanwhile, you can also set custom date formats by accessing wijmo.culture object. Please refer to the code snippet below for the same:

    //import wijmo core module
    import * as wjcCore from "@grapecity/wijmo";

    //change 'd' format
    wjcCore.culture.Globalize.calendar.patterns['d']="dd/MM/yyyy";

    Regards
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels