update to Ruby date