This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Objective

This Knowledge Base article describes how to set a default date format for the 'Task Start Date' column on the K2 worklist control.

Before You Begin

Currently, it is not possible to change the 'Task Start Date' date format in the worklist control on Design time. The format is then dependant on the following:

1. Individual user's date and time settings

2. Browser’s language settings

Here is an example of how the dates may differ on the respective browsers.

On IE browser, the date format is shown as dd/mm/yyyy.

On Chrome browser, the date format is shown as mm/dd/yyyy.

If you would like to change the date format on the worklist control so that it is standardized across all clients' browsers, please follow these steps:

How-to Steps

  1. Open the web.config (located by default in [Program Files (x86)]\K2 Blackpearl\K2 SmartForms Runtime).

2. Edit globalization variable

Please do remember to make a backup copy of the necessary files and folders before making any changes.

    From : <globalization culture="auto" uiCulture="auto" />  

               Image

   

    To : <globalization culture="[Language Culture]" uiCulture="[Language Culture]" />

3. Reset IIS

Reference Language Culture:-

https://msdn.microsoft.com/en-us/library/ee825488(v=cs.20).aspx