fix time in get heartbeats endpoint