Commit Graph

6 Commits

Author SHA1 Message Date
Damian Mooyman da6cefac06 Upgrade code for core namespaces 2016-08-30 13:08:11 +12:00
Damian Mooyman 9309cf3a50 API Namespace MSSQL connector (#31)
API Update to support customtable names
Update to support new namespaced orm
Cleanup PHPDoc
2016-07-15 13:57:54 +12:00
helpfulrobot 4badb07597 Converted to PSR-2 2015-12-18 07:50:59 +13:00
Sean Harvey 4de7829e4c Use more robust Format() in test instead of strtotime() 2012-09-07 16:23:59 +12:00
Sean Harvey 08eea5cde3 Ensure date test is Y-m-d 2012-09-07 16:21:13 +12:00
Sean Harvey a4c269bf62 BUGFIX Fixing date/datetime handling in MSSQLDatabase
Fixing the date type to actually be "date", and not "datetime" so
that values are returned as "Y-m-d" for dates, and not "Y-m-d H:i:s".

Additionally, fixing a case where using the mssql functions would
return strange datetime formats. We need the datetime field values
in Y-m-d H:i:s. To get this working, we need to inspect the field type
when retrieving rows from the database and re-format the datetime
value at this point. This is done in MSSQLQuery::nextRecord()
2012-06-12 12:57:53 +12:00