Email or username:

Password:

Forgot your password?
3 comments
Sergey Sign

@nikitonsky yes, my bad(

> This method is similar to the strftime() function defined in ISO C and POSIX.

Sergey Sign

@nikitonsky
oops
'%+' is '%a %b %e %H:%M:%S %Z %Y'
but you have '%a %b %e %H:%M:%S %z %Y'

Sergey Sign

@nikitonsky I remembered a story about this format : )

stackoverflow.com/questions/25

> There is a package time format constant named RubyDate; it's a misnomer.

The Go authors were misled by Go Issue 518 which claimed that Ruby Time.now outputs Tue Jan 12 02:52:59 -0800 2010

Later, the issue was revised to say that Tue Jan 12 02:52:59 -0800 2010 was the date format used by the Twitter API. In the beginning, in the "Fail Whale" days, Twitter used Ruby-on-Rails, which may be why they assumed it was a Ruby date format.

@nikitonsky I remembered a story about this format : )

stackoverflow.com/questions/25

> There is a package time format constant named RubyDate; it's a misnomer.

The Go authors were misled by Go Issue 518 which claimed that Ruby Time.now outputs Tue Jan 12 02:52:59 -0800 2010

Go Up