Fixed rogue foreach, added hh:mm:ss to date display