[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-917) 5.1.1.2.1 Addition and 5.1.1.2.2 Subtraction: Date add/sub Duration is DateTimeOffset - but in which time zone?
Ralf Handl created ODATA-917: -------------------------------- Summary: 5.1.1.2.1 Addition and 5.1.1.2.2 Subtraction: Date add/sub Duration is DateTimeOffset - but in which time zone? Key: ODATA-917 URL: https://issues.oasis-open.org/browse/ODATA-917 Project: OASIS Open Data Protocol (OData) TC Issue Type: Bug Components: OData URL Conventions Affects Versions: V4.0_ERRATA02 Reporter: Ralf Handl Fix For: V4.0_ERRATA03 The cited sections allow these operations but fail to provide guidance on how to implement them. DateTimeOffset must have a time zone, date cannot have a time zone. It would be better to - disallow these operations altogether - define the result type as Date and specify how to round or ignore sub-day duration portions -- This message was sent by Atlassian JIRA (v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]