Fix joda-time warning