@buenok you are missing a pair of parentheses arround the callback arguments: .onItemReady( ( $item, itemData ) => { …rest of the code }
($item, itemData) =>
About the slash Vs dash question, it is a Locale option, in USA it is common using the dash as a date separator. In BR it is common to use the slash separator for dates.