This commit is contained in:
parent
05fe40b70d
commit
8bb0fb8fcb
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ pub struct YouTubeMeta {
|
||||||
pub description: String,
|
pub description: String,
|
||||||
pub uploader_name: String,
|
pub uploader_name: String,
|
||||||
pub uploader_id: String,
|
pub uploader_id: String,
|
||||||
pub views: i64,
|
pub views: i32,
|
||||||
pub upload_date: chrono::NaiveDate,
|
pub upload_date: chrono::NaiveDate,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -99,7 +99,7 @@ pub fn format_date(date: &chrono::NaiveDate) -> String {
|
||||||
date.to_string()
|
date.to_string()
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn format_number(num: i64) -> String {
|
pub fn format_number(num: i32) -> String {
|
||||||
// TODO : Implement
|
// TODO : Implement
|
||||||
num.to_string()
|
num.to_string()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue