add date extension to handle joda time