Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avalanche Warp Navigator #61

Merged
merged 15 commits into from
Sep 13, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: update dependencies
Nuttymoon committed Sep 12, 2023

Verified

This commit was signed with the committer’s verified signature.
Nuttymoon Gauthier Leonard
commit a149b4a15d05718f7be4f925b433b1f2d3937bf1
1,018 changes: 463 additions & 555 deletions Cargo.lock

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions crates/ash_cli/src/utils/templating.rs
Original file line number Diff line number Diff line change
@@ -15,7 +15,6 @@ use ash_sdk::avalanche::{
};
use chrono::{DateTime, NaiveDateTime, Utc};
use colored::{ColoredString, Colorize};
use hex;
use indoc::formatdoc;

// Module that contains templating functions for info strings
@@ -43,7 +42,7 @@ where
}

pub(crate) fn human_readable_timestamp(timestamp: u64) -> String {
DateTime::<Utc>::from_utc(
DateTime::<Utc>::from_naive_utc_and_offset(
NaiveDateTime::from_timestamp_opt(timestamp as i64, 0).unwrap(),
Utc,
)