day.js firestore code example Example: firebase timestamp to date react Add toDate(); created_at.toDate()