Date.prototype.format() improved; added support for hours, minutes,
seconds

Change-Id: I20f765a5e3b5b2a0c806ab432518438f305a9a9a