change date to time in metrics API POST