fix time saved to firebase formatting to isostring