[BUGFIX] Better performance of DatabaseConnection->getDateTimeFormats