You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For both Image and Droplet actions, getCompletedAt should returns a string of 2014-11-14T16:32:24Z as per DigitalOcean API doc.
But I got from Java output is Thu Mar 31 12:53:19 HKT 2016. The date seems to be converted to my local time format with HKT, but the numbers are still in UTC. It needs to add +08:00 for HKT. The actual local time is Thu Mar 31 20:53:19 HKT 2016.
It seems HKT is added incorrectly. It should be UTC regardless of the local time zone.
The workaround is to replaced HKT with UTC in the date string.
For both Image and Droplet actions, getCompletedAt should returns a string of 2014-11-14T16:32:24Z as per DigitalOcean API doc.
But I got from Java output is Thu Mar 31 12:53:19 HKT 2016. The date seems to be converted to my local time format with HKT, but the numbers are still in UTC. It needs to add +08:00 for HKT. The actual local time is Thu Mar 31 20:53:19 HKT 2016.
It seems HKT is added incorrectly. It should be UTC regardless of the local time zone.
The workaround is to replaced HKT with UTC in the date string.
So the first line of output is correct for HKT.
PS: This affects
getCompletedAt
for both DropletAction and ImageAction. And I believe the same problem togetStartedAt
The text was updated successfully, but these errors were encountered: