Added back joda warning.
Constrain date.