SharePoint dataview webpart date formatting error with regional settings


I have read through too many forums and blogs to find a solution for this error, and eventually found this Microsoft KB article that solved my issue with a simple fix. Maybe posting a link to the KB article will help surface this simple solution a little more.

Issue: When a user uses a locale other than English (United States), the DateFormat function no longer works properly in a dataview webpart.

Sharepoint Regional Setting for Locale causes dataview webpart issues

The Fix: Use the DataFormWebPart with the following property set to false on the <SPDataSource> tag: UseServerDataFormat.

This is suggested by the Microsoft KB Article 2580994 “XsltListViewWebPart and ddwrt:DateTime limitations” (solution #3).