kla/php-activerecord — Issue #170: Connection doesn't use database format for dates and datetimes
Author: wooki
Created: 2011-10-14 11:47:52+00:00
State: open

datetime_to_string method in Connection class uses a hard coded string for the format, even though the DatTime class has a 'db' format defined which correctly ommits the T for timezone - well correct for mysql at least.

The format used here should refer to the DateTime formats - which should perhaps (for the database format) be read from config.