fix wrong format of date and time

part of time was in date field