sproutcore/sproutcore — Issue #642: Allow DataStore to use Unix Time as source
Author: mrbrookman
Created: 2011-12-12 19:32:55+00:00
State: open

Hello everybody.

I have a project where I have a unix time in my json source.
So I need to convert the unixtime to a date and back.
I did this in the transform function of DateTime.

I think, other people would like to have the support for Unix time too.

here is my solution:
https://github.com/mrbrookman/sproutcore/commit/1eff48b6b16dd2219968c51855ca68d95018db1b

but it should be improved.

best regards

Marc Bachmann