Bug fix: Corrected error in creation of new deposit - fixed converstion
of days into Date objects