Auto set date columns to Y-m-d format #68

Closed
opened 2021-03-09 02:12:10 +00:00 by jamie · 3 comments
jamie commented 2021-03-09 02:12:10 +00:00 (Migrated from git.hazaar.io)

This relies on a feature in MVC 2.6 that allows strict models to set the format for Hazaar\Date type fields.

When using Table::row() or Table::findOneRow() to find a DBI row and return it as a Hazaar\DBI\Row object to allow advanced features. We can get native date columns to automatically format to Y-m-d during output.

This relies on a feature in MVC 2.6 that allows strict models to set the format for `Hazaar\Date` type fields. When using `Table::row()` or `Table::findOneRow()` to find a DBI row and return it as a `Hazaar\DBI\Row` object to allow advanced features. We can get native `date` columns to automatically format to _Y-m-d_ during output.
jamie commented 2021-03-09 02:12:14 +00:00 (Migrated from git.hazaar.io)

created merge request !39 to address this issue

created merge request !39 to address this issue
jamie commented 2021-03-09 02:12:14 +00:00 (Migrated from git.hazaar.io)

mentioned in merge request !39

mentioned in merge request !39
jamie commented 2021-03-09 02:22:17 +00:00 (Migrated from git.hazaar.io)

mentioned in commit 6f875cad76

mentioned in commit 6f875cad76b12c18df38a790aec50ae7fbc2466e
jamie (Migrated from git.hazaar.io) closed this issue 2021-03-09 02:22:17 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: hazaar/hazaar-dbi#68
No description provided.