title: How to convert DateTime object to json
body: <p>How to convert <code>DateTime</code> object to json? It throws <code>Converting object to an encodable object failed.</code>, so is this a bug or it's just <code>dart</code> haven't yet support it? If you guys know some workaround please let me know.</p>