diff --git a/src/cbor/encoder.cr b/src/cbor/encoder.cr index 5360229..67bf1c4 100644 --- a/src/cbor/encoder.cr +++ b/src/cbor/encoder.cr @@ -45,8 +45,8 @@ class CBOR::Encoder end def write(value : Time) - write(CBOR::Tag::RFC3339Time) - write(value.to_rfc3339) + write(CBOR::Tag::RFC3339Time) + write(value.to_rfc3339) end