Clean up date formatting #56

Closed
opened 7 years ago by jking · 0 comments
jking commented 7 years ago
Owner

There's a bunch of places where date formats are juggled:

  • Throughout Db\Statement
  • In Db\SQLite3\CustomFunctions
  • The dateFormatDefault method in Database
  • The Misc\DateFormatter class

Ideally Misc\DateFormatter should be made better use of, and extended where necessary. The date formatter in Db\SQLite3\CustomFunctions should probably remain as-is given that MySQL and PostgreSQL will also have special handling.

There's a bunch of places where date formats are juggled: - Throughout `Db\Statement` - In `Db\SQLite3\CustomFunctions` - The `dateFormatDefault` method in `Database` - The `Misc\DateFormatter` class Ideally `Misc\DateFormatter` should be made better use of, and extended where necessary. The date formatter in `Db\SQLite3\CustomFunctions` should probably remain as-is given that MySQL and PostgreSQL will also have special handling.
jking closed this issue 7 years ago
jking added this to the 0.1.0 milestone 7 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.