[BUGFIX] Do not execute getDateTimeFormats for each input