https://bugzilla.wikimedia.org/show_bug.cgi?id=29392

Roan Kattouw <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Roan Kattouw <[email protected]> 2011-06-14 12:52:10 
UTC ---
Changing the timestamp type in ApiBase.php is a bad idea. Changing it to
TS_POSTGRES is even worse, because that'll break on non-Postgres backends.

The *proper* way to do this is for API modules to transform user-provided
timestamps with $db->timestamp(), which does a DB-specific timestamp
transformation. It so happens that the default timestamp format (TS_MW) is also
the DB timestamp format for the default DB backend (MySQL) so these issues
aren't typically noticed.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to