convert back to EDTS for erlang