I have a date column on the smartform that is showing in US format, when I save the item to the SharePont smartobject it shows on the list view in UK format, but on the smartform it shows in in US and I can't find any setting to set the locale for the date.
This I guess will also apply to workflow conditions/actions I set based on a date criteria so need to get it right :-)
Can anyone advise where you tell K2 that your platform is in the UK datewise?
Looking at the requirment, a simple column styling format change could resolve this. The requirement is to change the List views column from diaplaying the date in a US format to displaying it in UK format. Please see the below step by step guide on making these changes.
US date format | mm/dd/yyyy
UK date format | dd/mm/yyyy
Guide:
Hide contentShow content
Step 1: Select the column you need to alter the format on.
Step 2: Select the columns "Style" property.
Step 3: Select the "Date and Time" option, from here you have a few options to work with depending on your design requirement.
The "User Settings" option when selected will display the date in the system date format based on the user's systems regional settings when the user accesses the view.
The "Use" option when selected will display the date in the specified format i.e English (United Kingdom).
*Note: For your request I recommend selecting the "Use" option and specifying the English (United Kingdom) format, however this once again depends on your design requirements.
Step 4: Press "OK".
Step 5: Save, Finish and Run your View.
Result | Using the "Use" option with English (United Kingdom) as the specified format:
Should you feel that this post is of use and or an accurate solution to the raised question, I kindly encourage you to mark it as such using the 'Mark as Solution', 'Kudo' andor ‘Me Too’ options.
Having a similar issue, however the Styling set to UK format does not work within Chrome.
If using Chrome and Chrome has US Keyboard set in its advanced settings, then that overrides the K2 Styling date control set to UK format. Changing UI Culture to En-GB in IIS also has no effect.
The reason why chrome is in US format is because it does not use geographic location like other browsers however you can still change it to UK format manually by clicking the link below and follow step by step process
Should you find the information from the article useful or leading you to the answer please mark as "Solution and/or Kudo", as it will assist other k2 developers with relevant information in the near future.
Best Regards
Elvis
[K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member]
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.