mauzer
05/10/2022, 8:54 AMthisOldDave
05/10/2022, 9:10 AMmauzer
05/10/2022, 9:11 AMAdam Cameron
dateformat
there? The param expects a date, not a string.Adam Cameron
data_nascita
contains - literally - M
Adam Cameron
dateFormat
call would error before going to the DB. OK so that's weird.Adam Cameron
mauzer
05/10/2022, 10:03 AMmauzer
05/10/2022, 10:04 AMmauzer
05/10/2022, 10:04 AMmauzer
05/10/2022, 10:05 AMAdam Cameron
m is an invalid date or time string.
comes back from dateFormat if the first argument is "m"
.
So... err... the error is right. Don't do that.Adam Cameron
data_nascita
contains "m"
. Nothing to do with the line of code you cited.mauzer
05/10/2022, 10:11 AMAdam Cameron
mauzer
05/10/2022, 10:11 AMAdam Cameron
mauzer
05/10/2022, 10:12 AMAdam Cameron
Adam Cameron
mauzer
05/10/2022, 10:13 AMAdam Cameron
mauzer
05/10/2022, 10:13 AMAdam Cameron