Configurable datetime format fix spotted by @nsoranzo.