getDateArray should add zeros to time as well

getDateArray is used as the value for ws-current in the popup, and was creating invalid values for the datetime-local data type.