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

Fix filesize display in file viewer #475

Merged
merged 1 commit into from
Dec 23, 2020

Conversation

badcf00d
Copy link
Contributor

The existing page seems to always display the file size as bytes "B" even if it was supposed to show megabytes or kilobytes etc. It also seemed to have a problem with greater than 32 bit file sizes that would wrap around to show the file size as negative a billion bytes or something.

Mainly just copied the implementation from the folder view into the file info view.

Thanks,
Peter

@badcf00d badcf00d changed the title Fix file size display in file viewer Fix filesize display in file viewer Dec 22, 2020
@prasathmani prasathmani merged commit ef09231 into prasathmani:master Dec 23, 2020
ner00 pushed a commit to ner00/tinyfilemanager that referenced this pull request May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants