feat: Added replaceDatesInArray()
+tests