fix mysqlsec conversion from decimal date