pesaPi
pesaPi copied to clipboard
Change default datetime in query from '0000-00-00' to '1970-01-01'
Recent versions of MySQL do not allow 0000-00-00 so the default Transaction database query keeps failing causing a null value on the setReceipt() function. Change to epoch which is allowed
Fixes #22