fix: correct timezone offset for parsed dates, add timezone_local option
This commit is contained in:
parent
85a92b1a53
commit
d408bf0ff8
15 changed files with 202 additions and 98 deletions
|
|
@ -90,7 +90,7 @@ impl MapResponse<Playlist> for response::Playlist {
|
|||
.playlist_video_list_renderer
|
||||
.contents;
|
||||
|
||||
let mut mapper = response::YouTubeListMapper::<VideoItem>::new(ctx.lang, ctx.utc_offset);
|
||||
let mut mapper = response::YouTubeListMapper::<VideoItem>::new(ctx.lang);
|
||||
mapper.map_response(video_items);
|
||||
|
||||
let (description, thumbnails, last_update_txt) = match self.sidebar {
|
||||
|
|
|
|||
Reference in a new issue