Skip to content

Commit 2bb9798

Browse files
date NaN logic (#1737)
Co-authored-by: RamilCDISC <113539111+RamilCDISC@users.noreply.github.com>
1 parent 1adfcb6 commit 2bb9798

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cdisc_rules_engine/check_operators/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def default_value(self):
5656

5757

5858
def is_valid_date(date_string: str) -> bool:
59-
if date_string is None:
59+
if date_string is None or not isinstance(date_string, str):
6060
return False
6161
try:
6262
isoparse(date_string)

0 commit comments

Comments
 (0)