We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06b6974 commit 0b98b7dCopy full SHA for 0b98b7d
1 file changed
packages/iris-grid/src/sidebar/conditional-formatting/ConditionalFormattingUtils.ts
@@ -718,19 +718,19 @@ export function isDateConditionValid(condition: DateCondition, value?: string) {
718
return true;
719
720
default: {
721
- const [dt, tz] = (value ?? '').split(' ');
+ const [dateTimeString, tzCode] = (value ?? '').split(' ');
722
723
try {
724
- DateUtils.parseDateTimeString(dt);
+ DateUtils.parseDateTimeString(dateTimeString);
725
} catch (e) {
726
- log.debug('Invalid datetime string', dt);
+ log.debug('Invalid datetime string', dateTimeString);
727
return false;
728
}
729
730
731
- dh.i18n.TimeZone.getTimeZone(tz);
+ dh.i18n.TimeZone.getTimeZone(tzCode);
732
733
- log.debug('Invalid timezone string', tz);
+ log.debug('Invalid timezone string', tzCode);
734
735
736
0 commit comments