Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed serialization to serialize datetime fields as strings instead o…
…f the actual DateTime objects. important format change for anyone using serialized datetime fields DateTime fields were previously being serialized like below which was not the intention: "created_at":{"date":"2010-05-18 23:25:10","timezone_type":2,"timezone":"EDT"} It will now be serialized to a string like so: "created_at":"2010-05-18T23:26:26-0400" The default format is ISO8601 but this can be changed. See http://github.com/kla/php-activerecord/commit/faef7a853870d3efa3e7dce48a256f46478a630d for details
- Loading branch information
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters