Is it possible to change default cast dates logic? Or only way is to write a trait for Lucid and assign that trait to all models?
Idea is to ALWAYS send all dates as UNIX timestamp to client. What is the best approach for this?
@virk: suggestion: what about adding config values for this to config/database and inside lucid/src/Lucid/Model/Base pull that config as DATE_FORMAT and CAST_DATE_FORMAT with default value of ‘YYYY-MM-DD HH:mm:ss’?