Fix bug with time stamp format for calc.