Improve conversion joda time types #538