+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Time zone issues with User custom fields

Time zone issues with User custom fields

1 posts, 0 answered
  1. Nathan
    Nathan avatar
    1 posts
    Registered:
    23 Mar 2015
    29 Jan
    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