More in this section
Forums / General Discussions / Time zone issues with User custom fields

Time zone issues with User custom fields

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Nathan
    Nathan avatar
    1 posts
    23 Mar 2015
    29 Jan 2016
    Link to this post

    We have created a custom field BirthDate as part of the basic profile for users; this is loaded by a back-end process with a day/month/year, where the time is ignored (set to midnight/00:00.000). In the database everything is fine; the datetime field shows the value as expected.

    The issue appears on the Admin/Users page, when editing the user profile. The BirthDate appears "corrected" to Eastern Standard (EST), causing confusion for administrators trying to help users correct their birthday information.

    Our database server and Sitefinity (Settings>Time Zone) are set to UTC and the UI Time Zone Config has no CurrentTimeZoneInfo set (i.e. blank) and the UserBrowserSettingsForCalculatingDates is checked. These should be the default values (our app server is set to UTC).

    I believe that UserBrowserSettingsForCalculatingDates is modifying the display of the custom field in the Edit User screen. Is there a way to disable just for the User Profiles? I'm afraid to simply uncheck UserBrowserSettingsForCalculatingDates for fear of messing up other pieces (like the date/time that News articles show up).

    Is there a way to leverage just a Date column type, as we do not need time?

1 posts, 0 answered