Skip to content

Commit

Permalink
aging_since should be formatted using format_timestamp_seconds, not f…
Browse files Browse the repository at this point in the history
…ormat_duration_seconds. (#256)
  • Loading branch information
daniel-wong-dfinity-org authored Jan 29, 2025
1 parent afa26b3 commit 0d0fd18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/format/nns_governance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ pub fn display_list_neurons(blob: &[u8]) -> AnyhowResult<String> {
writeln!(
fmt,
"Aging since: {}",
format_duration_seconds(neuron.aging_since_timestamp_seconds)
format_timestamp_seconds(neuron.aging_since_timestamp_seconds)
)?;
}

Expand Down

0 comments on commit 0d0fd18

Please sign in to comment.