indexeddb change the way that date typeof formats are stored