date editor timeZoneOffset issue

Fix for time zone issue with the new date editor.