emqx/changes/ce/fix-12668.en.md

3 lines
161 B
Markdown

Refactor the SQL function: `date_to_unix_ts()` by using `calendar:datetime_to_gregorian_seconds/1`.
This change also added validation for the input date format.