mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 13:36:07 +02:00
Add datetime to math-like (#5118)
* Add datetime to math-like * add test
This commit is contained in:
@ -84,6 +84,10 @@ pub fn is_math_expression_like(
|
||||
return true;
|
||||
}
|
||||
|
||||
if parse_datetime(working_set, span).1.is_none() {
|
||||
return true;
|
||||
}
|
||||
|
||||
if parse_binary(working_set, span).1.is_none() {
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user