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

In FileAdmin, if a directory has no date, it should display as empty (not 1970) #2598

Open
pamelafox opened this issue Feb 12, 2025 · 0 comments

Comments

@pamelafox
Copy link
Contributor

Discussed in #2573

Currently, directories are given a timestamp of 0, so they render as 1970:
Screenshot 2025-02-11 at 11 58 16 AM

It would be more accurate to show their dates as empty, like Azure storage explorer does:
Screenshot 2025-02-11 at 11 21 29 AM
(It would be good to know what S3 does, I don't have a current account. But I think the S3 code in flask-admin also sets a timestamp of 0 for directories).

This would be a change to BaseFileAdmin and possibly the templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant