You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of sql, shouldn't it be timestamp? It looks like current_time only accepts timestamp or mysql as an option, otherwise it falls back to treating that string as a date formatting string. If it's mysql it tries to format the date twice. I switched it to timestamp and it appears to be working correctly.
The text was updated successfully, but these errors were encountered:
I'm getting an exception
A non well formed numeric value encountered
when trying to save an updated answer.Looks like it's coming from this line in
inc/Handle.php
(line 181 in master).Instead of
sql
, shouldn't it betimestamp
? It looks likecurrent_time
only acceptstimestamp
ormysql
as an option, otherwise it falls back to treating that string as a date formatting string. If it'smysql
it tries to format the date twice. I switched it totimestamp
and it appears to be working correctly.The text was updated successfully, but these errors were encountered: