Skip to content

Commit

Permalink
Update CollectionProcessorsUtils.cls
Browse files Browse the repository at this point in the history
Fixed logic
  • Loading branch information
JeroenSfdc authored Dec 18, 2023
1 parent da40ae4 commit f1f6f6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, String> localMonthNumbers = getLocalMonthNumbers();
Expand Down

0 comments on commit f1f6f6c

Please sign in to comment.