@@ -137,7 +137,7 @@ impl SchemaType<'_> {
137137
138138 #[ cfg( feature = "jiff_0_2" ) ]
139139 if !primitive {
140- primitive = matches ! ( name, "Zoned" | "Date" ) ;
140+ primitive = matches ! ( name, "Zoned" | "Date" | "Timestamp" ) ;
141141 }
142142
143143 primitive
@@ -301,7 +301,9 @@ impl ToTokensDiagnostics for SchemaType<'_> {
301301 schema_type_tokens ( tokens, SchemaTypeInner :: String , self . nullable )
302302 }
303303 #[ cfg( feature = "jiff_0_2" ) ]
304- "Zoned" => schema_type_tokens ( tokens, SchemaTypeInner :: String , self . nullable ) ,
304+ "Zoned" | "Timestamp" => {
305+ schema_type_tokens ( tokens, SchemaTypeInner :: String , self . nullable )
306+ }
305307 _ => schema_type_tokens ( tokens, SchemaTypeInner :: Object , self . nullable ) ,
306308 } ;
307309
@@ -425,7 +427,7 @@ impl KnownFormat {
425427 "PrimitiveDateTime" | "OffsetDateTime" => Self :: DateTime ,
426428
427429 #[ cfg( feature = "jiff_0_2" ) ]
428- "Zoned" => Self :: DateTime ,
430+ "Zoned" | "Timestamp" => Self :: DateTime ,
429431 _ => Self :: Unknown ,
430432 } ;
431433
@@ -750,7 +752,7 @@ impl PrimitiveType {
750752 }
751753
752754 #[ cfg( feature = "jiff_0_2" ) ]
753- "Zoned" => {
755+ "Zoned" | "Timestamp" => {
754756 syn:: parse_quote!( String )
755757 }
756758 _ => {
0 commit comments