Page tree
Skip to end of metadata
Go to start of metadata

The JSON from JIRA REST calls contains dates like:

"created":"2014-01-08T11:39:52.489+1100"

In Ruby this is parsed with:

DateTime.strptime('2014-01-08T11:39:52.489+1100', '%Y-%m-%dT%H:%M:%S.%L%z')
 => #<DateTime: 2014-01-08T11:39:52+11:00 ((2456666j,2392s,489000000n),+39600s,2299161j)> 
  • No labels