I have a web API that can return time zone-aware time data in the form of an ISO 8601 compliant string. I have two options, return time data with an offset, and return time data converted to UTC (Zulu time).
Example, I want to return a time of 5/6/2014 5:16:00 PM Eastern Time.
Option 1: "2014-05-06T17:16:00-04:00"
Option 2: "2014-05-06T21:16:00Z"
Which is the better option? Which is the more popular option?
My customer is fine with either way. But I would like to have your opinion on which is the better option, and your reasoning behind your preference.
I think option 1 is better since it provides additional information about the time zone. In this example, assuming all parties are in the US, you know the time zone is Eastern Time based on the date and the -4:00 offset.