mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 10:55:56 +03:00
[PR #475] [MERGED] Fix filesize display in file viewer #989
Labels
No labels
Feature
Feature
Is It Really an Issue?
Need More Info
Request
Security
bug
duplicate
enhancement
enhancement
help wanted
invalid
pull-request
question
suggestion
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tinyfilemanager#989
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/prasathmani/tinyfilemanager/pull/475
Author: @badcf00d
Created: 12/22/2020
Status: ✅ Merged
Merged: 12/23/2020
Merged by: @prasathmani
Base:
master← Head:patch-1📝 Commits (1)
5cb9a95Fix file size display in file viewer📊 Changes
1 file changed (+3 additions, -4 deletions)
View changed files
📝
tinyfilemanager.php(+3 -4)📄 Description
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
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.