date/time formatted correctly to display and prepopulate inputs