[Glass] understanding the DateTime instance creation API

Dale Henrichs via Glass glass at lists.gemtalksystems.com
Fri Jul 15 13:40:35 PDT 2016

On 07/15/2016 12:37 PM, Paul DeBruicker via Glass wrote:
> Hi Dale,
> I pasted my testDt.st tode file below my name in my prior message.  If you
> run it you get two arrays with containing the DateTimes, their #hour, and
> the ISO8601 string.
haha, your message up to the signature fit exactly in the window in my 
mail browser and didn't bother checking the scroll bar to see if there 
was more:)

When I run your code I get the following:

1@       -> anArray( 15/07/2016 03:10:10, 3, '2016-07-15T03:10:10+0000')
2@       -> anArray( 15/07/2016 10:10:10, 10, '2016-07-15T10:10:10-0700')

Which I think is what you are expecting ... so there must be something 
else going on? What is the timeZone for the machine that your stone is 
run on?

Presumably this is where the bug is asserting itself ...


More information about the Glass mailing list