Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

align views format in video and searchVideo #78

Open
pionxzh opened this issue Jul 27, 2023 · 0 comments
Open

align views format in video and searchVideo #78

pionxzh opened this issue Jul 27, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@pionxzh
Copy link
Owner

pionxzh commented Jul 27, 2023

Currently views from searchVideo will be formatted to 1.2M
but views from video will be a whole number, e.g. 475000

Consider providing two new fields to align the type and format

  • viewCount: number. e.g. 475000
  • viewCountFormatted: string. e.g. 1.2M

And we can drop views in the next major version

Reference: #68 (comment) #68 (comment)

@pionxzh pionxzh added the enhancement New feature or request label Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant