Entity.fromSelectJSON() maps a null timestamp to epoch (1)
When I have an entity like this:
Entity SomeEntity { time : DateTime }
and a JSON object like this:
json = { time : null }
and I run this:
var e = SomeEntity.fromSelectJSON(json); log(e.time)
I expect output to be null, instead it is Wed Dec 31 1969 19:00:00 GMT-0500 (EST)
Submitted on 29 March 2011 at 21:57
Issue Log
On 29 March 2011 at 21:58 Willem Bult tagged !willembult
On 11 April 2011 at 15:58 Zef Hemel closed this issue.
On 11 April 2011 at 15:58 Zef Hemel commented:
This bug will be fixed in 0.4.3.
Log in to post comments