Add missing datetime prefix. (#4244)
This commit is contained in:
parent
a82bb76aba
commit
4148aef961
2 changed files with 3 additions and 3 deletions
|
@ -95,7 +95,7 @@ impl Datetime {
|
|||
|
||||
impl Display for Datetime {
|
||||
fn fmt(&self, f: &mut Formatter) -> fmt::Result {
|
||||
Display::fmt("e_str(&self.to_raw()), f)
|
||||
write!(f, "d{}", "e_str(&self.to_raw()))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1302,7 +1302,7 @@ async fn select_with_datetime_value() -> Result<(), Error> {
|
|||
plan: {
|
||||
index: 'createdAt',
|
||||
operator: '=',
|
||||
value: '2023-12-25T17:13:01.940183014Z'
|
||||
value: d'2023-12-25T17:13:01.940183014Z'
|
||||
},
|
||||
table: 'test_user'
|
||||
},
|
||||
|
@ -1324,7 +1324,7 @@ async fn select_with_datetime_value() -> Result<(), Error> {
|
|||
let val = Value::parse(
|
||||
r#"[
|
||||
{
|
||||
"created_at": "2023-12-25T17:13:01.940183014Z",
|
||||
"created_at": d"2023-12-25T17:13:01.940183014Z",
|
||||
"id": test_user:1
|
||||
}
|
||||
]"#,
|
||||
|
|
Loading…
Reference in a new issue