From f1f6f6cff5bdfaebd7ed3fb2a318632f5372dad8 Mon Sep 17 00:00:00 2001 From: Jeronimo Date: Mon, 18 Dec 2023 20:34:12 +0100 Subject: [PATCH] Update CollectionProcessorsUtils.cls Fixed logic --- .../main/default/classes/CollectionProcessorsUtils.cls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow_action_components/CollectionProcessors/force-app/main/default/classes/CollectionProcessorsUtils.cls b/flow_action_components/CollectionProcessors/force-app/main/default/classes/CollectionProcessorsUtils.cls index 0ae3540b1..a9920d0bc 100644 --- a/flow_action_components/CollectionProcessors/force-app/main/default/classes/CollectionProcessorsUtils.cls +++ b/flow_action_components/CollectionProcessors/force-app/main/default/classes/CollectionProcessorsUtils.cls @@ -38,7 +38,7 @@ public with sharing class CollectionProcessorsUtils { if (fieldType == 'datetime' || fieldType == 'date') { //Datetime is already formatted - if (fieldValue.contains('t') && fieldValue.contains('z') && fieldValue.indexOf('t') == 11) { + if (fieldValue.containsIgnoreCase('t') && fieldValue.containsIgnoreCase('z') && fieldValue.indexOfIgnoreCase('t') == 10) { return fieldValue; } Map localMonthNumbers = getLocalMonthNumbers();