Encoder: \t

remotes/dev/pr-cbor-any-and-time
Karchnu 2021-06-21 22:04:32 +02:00
parent f5837e727e
commit 95285c41e3
1 changed files with 2 additions and 2 deletions

View File

@ -45,8 +45,8 @@ class CBOR::Encoder
end end
def write(value : Time) def write(value : Time)
write(CBOR::Tag::RFC3339Time) write(CBOR::Tag::RFC3339Time)
write(value.to_rfc3339) write(value.to_rfc3339)
end end