nu-command 0.90.1

Nushell's built-in commands
Documentation
1
2
3
4
5
6
7
8
use nu_test_support::nu;

#[test]
fn into_datetime_table_column() {
    let actual = nu!(r#"[[date]; ["2022-01-01"] ["2023-01-01"]] | into datetime date"#);

    assert!(actual.out.contains(" ago"));
}