better date serilization (#5207)
This commit is contained in:
Generated
+1
@@ -6078,6 +6078,7 @@ dependencies = [
|
||||
"nym-network-defaults",
|
||||
"nym-node-requests",
|
||||
"nym-node-status-client",
|
||||
"nym-serde-helpers",
|
||||
"nym-statistics-common",
|
||||
"nym-task",
|
||||
"nym-validator-client",
|
||||
|
||||
@@ -26,6 +26,7 @@ nym-node-status-client = { path = "../nym-node-status-client" }
|
||||
nym-crypto = { path = "../../common/crypto", features = ["asymmetric", "serde"] }
|
||||
nym-explorer-client = { path = "../../explorer-api/explorer-client" }
|
||||
nym-network-defaults = { path = "../../common/network-defaults" }
|
||||
nym-serde-helpers = { path = "../../common/serde-helpers"}
|
||||
nym-statistics-common = { path = "../../common/statistics"}
|
||||
nym-validator-client = { path = "../../common/client-libs/validator-client" }
|
||||
nym-task = { path = "../../common/task" }
|
||||
|
||||
@@ -79,6 +79,7 @@ pub(crate) struct SummaryHistory {
|
||||
pub struct SessionStats {
|
||||
pub gateway_identity_key: String,
|
||||
pub node_id: u32,
|
||||
#[serde(with = "nym_serde_helpers::date")]
|
||||
pub day: time::Date,
|
||||
pub unique_active_clients: i64,
|
||||
pub session_started: i64,
|
||||
|
||||
Reference in New Issue
Block a user