From 1a2a4ce6d63c54a9a3b7473034ebcdb452c8d270 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Loren=20=F0=9F=A4=93?= Date: Thu, 3 Mar 2022 15:59:52 -0500 Subject: [PATCH 1/2] Specify that Datetime values should be ISO strings --- temporal/api/common/v1/message.proto | 1 + 1 file changed, 1 insertion(+) diff --git a/temporal/api/common/v1/message.proto b/temporal/api/common/v1/message.proto index 5364a758..7e029c6b 100644 --- a/temporal/api/common/v1/message.proto +++ b/temporal/api/common/v1/message.proto @@ -56,6 +56,7 @@ message Payload { } // A user-defined set of *indexed* fields that are used/exposed when listing/searching workflows. +// Datetime fields are represented as ISO strings. // The payload is not serialized in a user-defined way. message SearchAttributes { map indexed_fields = 1; From 53e41a77b34a02fb5600e62b37a5ed820981c227 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Loren=20=F0=9F=A4=93?= Date: Fri, 4 Mar 2022 12:08:56 -0500 Subject: [PATCH 2/2] Datetime search attributes parsed as RFC 3339 --- temporal/api/common/v1/message.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/temporal/api/common/v1/message.proto b/temporal/api/common/v1/message.proto index 7e029c6b..3aa1cb35 100644 --- a/temporal/api/common/v1/message.proto +++ b/temporal/api/common/v1/message.proto @@ -56,7 +56,7 @@ message Payload { } // A user-defined set of *indexed* fields that are used/exposed when listing/searching workflows. -// Datetime fields are represented as ISO strings. +// Datetime fields are represented as RFC 3339 strings. // The payload is not serialized in a user-defined way. message SearchAttributes { map indexed_fields = 1;