Fix dates in memory adapter