On 2024-08-07, at 09:59, Jürgen Schönwälder 
<[email protected]> wrote:
> 
> It is what it is.

I agree that this is a valid approach for keeping YANG-XML and YANG-JSON 
forward compatible; date/times do not need to be ISO 8601 compatible to be 
useful YANG data.

Separately, for generating a good stand-in spec for YANG-CBOR (which allows 
binary representation of dates and timestamps), it would be good to have some 
more information about how the timezone-offset is used in practice in the YANG 
ecosystem.  I haven’t done a proper survey (lacking a corpus to work from), but 
anecdotical I’m seeing examples with Z in place of a timezone-offset that 
appear to target the semantics of -00:00 (which is what RFC 9557 recognizes as 
the de-factor meaning of Z).

Grüße, Carsten

_______________________________________________
netmod mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to