Skip to content

Commit

Permalink
Update inmgr.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
orzklv committed Nov 16, 2023
1 parent f730657 commit ad6b040
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/utils/inmgr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ pub fn view_generate(c: &Crate) -> String {
c.downloads
));
result.push_str(&format!(
"⌚️ <b>Yaratilgan:</b> <code>{}</code\n>",
c.created_at.naive_local().to_string()
"⌚️ <b>Yaratilgan:</b> <code>{}</code>\n",
c.created_at.date_naive().to_string()
));
result.push_str(&format!(
"📡 <b>Yangilangan:</b> <code>{}</code>\n",
Expand All @@ -50,6 +50,8 @@ pub fn view_generate(c: &Crate) -> String {
""
}
));
result.push_str("🔌 <b>Cargo.toml fayliga qo'shib qo'ying:</b> \n");
result.push_str(&format!("<code>[dependencies]</code>\n<code>{} = \"{}\"</code>", c.name, c.max_version));

result
}
Expand Down

0 comments on commit ad6b040

Please sign in to comment.