added return statement in getDate; pushed to 1.0.1