DateTime parsing bug fix

Server returns time with single digit and js fails to parse it if it is
set to 2 digits