getDateArray should add zeros to time as well
Merge pull request #294 from terinjokes/datetime-local

getDateArray should add zeros to time as well