Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
titleNote About Aptify 5.5.5

Note that these steps are no longer applicable starting with Aptify 5.5.5. See Installing Aptify Web for Aptify 5.5.5 for more details.

 

By default, Aptify supports the Month Day Year (MDY) format. Perform the procedure below if your environment uses either Date Month Year (DMY) or Year Month Day (YMD) date formats. 

The examples in this topic address the process for configuring an Aptify environment to use the date format used in Australia (DMY).

  1. Set server Region & language and Language setting to the required culture.

    Image Added 

...


  1. Image Added 

...

  1.  
  2. Set the Server SQL Default language to British Englishto the desired default language.
    • For example, in an Australian environment, you would Open SQL server

...

    • by right-clicking on SQL server

...

    • and select Advance > Default Language

...

    • > Select British English

...



    • Image Added

      SOA Pool User Default Language can be English or British English.
       
  1. Download or create different Kendo cultural files for the desired culture in the *C:\inetpub\wwwroot\Aptify\script * folder. 

...



    • For example, the kendo.culture.en-AU.min.js file is used for an Australian environment
       
  1. Open the C:\inetpub\wwwroot\Aptify\script\Aptify\framework\ Aptify.Framework.Bootloader.js file for editing.
  2. Search for the getThirdPartyResourcelist() function and add the name of the Kendo culture file to the list of files for the results variable.

    Code Block
    languagesql
    titleFor example
    function getThirdPartyResourcelist() {

...

  1. 
    var results;

...

  1.  
    results = [

...

  1. 
    //"/log4javascript/log4javascript.js",

...

  1. 
    "/jquery-1.10.2.min.js",

...

  1. 
    "/kendo.all.min.js",

...

  1. 
    "/jquery.Jcrop.min.js",

...

  1. 
    "/knockout-2.2.1.js",

...

  1. 
    "/adapter.js",

...

  1. 
    "/jquery.signalR-2.0.2.min.js",

...

  1. 
    "/Ace/src-min-noconflict/ace.js",

...

  1. 
    "/Ace/src-min-noconflict/ext-language_tools.js",

...

  1. 
    "/dom.jsPlumb-1.7.2.1-min.js",

...

  1. 
    "/jszip.js",

...

  1. 
    "/kendo.culture.en-AU.min.js"

...

  1. 
    ];

...

  1. 
    return Aptify.framework.bootloader.getAbsolutePathForAptifyThirdParty(results);

...

  1. 
    } 
  2. Save and close the Aptify.Framework.Bootloader.js file.
  3. Open the Aptify.Framework.Configuration.External.js file for edtingediting.
  4. Add following values based on the required culture

    .

    :

    No Format
    nopaneltrue
    Aptify.framework.configuration.cultureName = "<culture>";
    Aptify.framework.configuration.calendarDateHeaderFormat = "<date format>"; 

     

    • The following values would be used for an Australian environment: 

      No Format
      nopaneltrue
      Aptify.framework.configuration.cultureName = "en-AU"; 
      Aptify.framework.configuration.calendarDateHeaderFormat = "ddd dd/MM";



  5. Save and close the Aptify.Framework.Configuration.External.js file
  6. Open the Aptify.Framework-<version_number>.min.js file for editing.
    • For example, if you are running Aptify 5.5.4, you would open the Aptify.Framework-5.5.4.min.js file for editing.
       
  7. Find the shortDateFormat and longDateFormat settings and update the date and time format to the format required for the desired culture. 
    • The following values would be used for an Australian environment

    .
    • :

      No Format
      nopaneltrue
      Aptify.framework.configuration.shortDateFormat = "d/MM/yyyy"; 
      Aptify.framework.configuration.longDateFormat = "d/MM/yyyy h:mm:ss tt";



  8. Save and close the Aptify.Framework-<version_number>.min.js file
  9. In the Aptify Desktop client, open the Cultures record for the desired culture. 
  10. Click the Culture Formats tab and update the DateFormat and DateTimeFormat settings to align with the shortDateFormat and longDateFormat values used in the previous step. Image Removed

    Image Added

  11. Ensure that the web users in Aptify user accounts are configured to use the desired culture.