Skip to content

Commit 9331fb2

Browse files
committed
Fix date time fields in rfd-ts
1 parent 4327304 commit 9331fb2

7 files changed

Lines changed: 11 additions & 10 deletions

File tree

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rfd-api/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rfd-api"
3-
version = "0.14.0"
3+
version = "0.14.1"
44
edition = "2021"
55
repository = "https://github.com/oxidecomputer/rfd-api"
66

rfd-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rfd-cli"
3-
version = "0.14.0"
3+
version = "0.14.1"
44
edition = "2021"
55

66
[features]

rfd-processor/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rfd-processor"
3-
version = "0.14.0"
3+
version = "0.14.1"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

rfd-sdk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rfd-sdk"
3-
version = "0.14.0"
3+
version = "0.14.1"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

rfd-ts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,5 @@
6969
]
7070
}
7171
},
72-
"version": "0.14.0"
73-
}
72+
"version": "0.14.1"
73+
}

rfd-ts/src/util.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export const parseIfDate = (k: string | undefined, v: unknown) => {
5151
&& (k?.startsWith('time_')
5252
|| k?.endsWith('_time')
5353
|| k?.endsWith('_expiration')
54+
|| k?.endsWith('_at')
5455
|| k === 'timestamp')
5556
) {
5657
const d = new Date(v)

0 commit comments

Comments
 (0)