Skip to main content
Open Smart Grid - OpenSG
Login | Join | Help (new window)


Open Smart Grid - OpenSG > Help Desk > Service Requests > Timestamps are Universal so where is timezone and DST info  

Service Requests: Timestamps are Universal so where is timezone and DST info

Version HistoryVersion History

Service Request

Timestamps are Universal so where is timezone and DST info 

Details

Reading the standard, the key reference I see to timestamps is RFC3339 “Date and Time on the Internet: Timestamps”. This standard clearly states that UTC is the default and preferred representation. In the ESPI standard, this is referred only in the communication specifications section 21.6.2: “Date and time values for the above parameters use RFC 3339 format.” For the standard, timestamps in general are based on TimeType which does not make reference to locale. So I would say that the standard is not explicit but implies that all times are UTC.

Customer

martin.burns 

Priority

(2) Normal 

Service Representative

 

Assigned To

steve.van ausdall 

Keywords

ESPI; GreenButton; OpenADE 

Comments

martin.burnsNo presence information (4/6/2012 8:07 AM): An ESPI data file as used for Green Button, for example, currently has no time zone information. The third party will not necessarily know the time zone that the data is for (the UsagePoint). Therefore, he can't render it to the Retail Customer in the appropriate time zone.
 
Therefore it seems reasonable that the data must have only UTC and that time zone and DST information needs to be added to the UsagePoint definition.
 
I suppose alternatively, a hint at the time zone information could be deduced from the atom publishing part of the data but this seems unsatisfying as it is header information that might not be retained in a user's application.
steve.van ausdallNo presence information (3/19/2012 4:48 PM): RFC 3339 is only used "for the above parameters" which are published and updated max and min (query parameters). Atom (RFC 4287) defines published and updated using xsd:dateTime, which is similar to ISO 8601 (allows specification of time zone), and ESPI uses "TimeType" which is similar to unix time (UTC / no time zone). If the field in question allows specification of a time zone, then times can be specified in relation to a specific time zone, but it is not required. The service provider (DataCustodian) does not need to know the time zone of the service consumer (AuthorizedThirdParty). The third party may need to convert times specified without time zone to local time for display purposes.

Status

Engaged 

Resolution Type

 

Resolution Date

 

Mark for Knowledge Base

No 

Related Articles

 

Resolution Time

Attachments
Version: 3.0 
Created at 4/6/2012 8:07 AM  by martin.burns