DateTiem returned from Gogrid is not being correctly handled


Each operation that requires obtaing and processing date/time from gogrid throws an exception like this "The string is not recognized as a valid date/time format". Actually the date time returned is like a long integer! any clues on how to correctly handle it?
Closed Jan 19, 2011 at 1:45 AM by MitchDenny
The only place we currently deal with date is in the image class and it looks like it now correctly handles it.


pcportugal wrote May 10, 2010 at 7:27 PM

Actually I managed to figure it out, goGrid is returning date in epoch format. To solve this we have to patch every line with datetime.parse (timestamp) with new datetime(1970,1,1,).addseconds(timestamp)

MitchDenny wrote Jan 19, 2011 at 1:39 AM

Hi there,

Try the latest release (0.3.0) a number of the date time formatting issues have been resolved. The problem is that the REST API handling of date time strings is somewhat inconsistent.

wrote Jan 19, 2011 at 1:45 AM

wrote Feb 12, 2013 at 8:49 PM

wrote May 14, 2013 at 1:08 AM