feat: add timezone query option
This commit is contained in:
parent
6582bf1434
commit
85a92b1a53
14 changed files with 132 additions and 25 deletions
|
|
@ -45,7 +45,7 @@ impl MapResponse<Vec<VideoItem>> for response::Trending {
|
|||
.section_list_renderer
|
||||
.contents;
|
||||
|
||||
let mut mapper = response::YouTubeListMapper::<VideoItem>::new(ctx.lang);
|
||||
let mut mapper = response::YouTubeListMapper::<VideoItem>::new(ctx.lang, ctx.utc_offset);
|
||||
mapper.map_response(items);
|
||||
|
||||
Ok(MapResult {
|
||||
|
|
|
|||
Reference in a new issue