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

Package add time in ContentDB info tab is too precise #570

Open
Wuzzy2 opened this issue Nov 28, 2024 · 1 comment
Open

Package add time in ContentDB info tab is too precise #570

Wuzzy2 opened this issue Nov 28, 2024 · 1 comment

Comments

@Wuzzy2
Copy link
Contributor

Wuzzy2 commented Nov 28, 2024

Problem

If you select a ContentDB package and go to the Information tab, it shows the time of addition. It's a time and date. But the time is way too precise, with 6 decimal places after the seconds.

Solutions

Round the time (seconds) towards the nearest integer. Remove all decimal places.

Alternatives

None.

Additional context

No response

@rubenwardy
Copy link
Contributor

Good first issue - just need to apply a datetime formatter in minetest_hypertext.py:package_info_as_hypertext

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

No branches or pull requests

4 participants