Skip to content

Commit

Permalink
fix version && update
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Busch committed Nov 11, 2023
1 parent a7ea81a commit a873ebc
Show file tree
Hide file tree
Showing 3 changed files with 118 additions and 24 deletions.
138 changes: 116 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ serde = { version = "1.0.130", features = ["derive"] }
tokio = { version = "1", features = ["full"] }
futures = "0.3"
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
tui = { version = "0.19.0", default-features = false, features = ['crossterm', 'serde'] }
tui = { version = "0.14.0", default-features = false, features = ['crossterm', 'serde'] }
crossterm = { version = "0.27.0", features = [ "serde" ] }
open = "5.0.0"
termion = "2.0.3"
Expand Down
2 changes: 1 addition & 1 deletion src/api/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use chrono::{DateTime, NaiveDateTime, Utc};

fn parse_date_string(date_string: &str) -> DateTime<Utc> {
let naive_date = NaiveDateTime::parse_from_str(date_string, "%Y-%m-%dT%H:%M:%SZ").unwrap();
DateTime::from_utc(naive_date, Utc)
DateTime::from_naive_utc_and_offset(naive_date, Utc)
}

pub async fn init_gh_data(username: &str, access_token: &str) -> Result<(Vec<ApiResponseItem>, Vec<ApiResponseItem>, Vec<ApiResponseItem>, i32, i32, i32), Box<dyn Error>> {
Expand Down

0 comments on commit a873ebc

Please sign in to comment.