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

webapi: Footer update time relative not absolute #494

Merged
merged 1 commit into from
Oct 26, 2024

Conversation

jholdstock
Copy link
Member

Using a relative time rather than absolute requires far less effort for a reader to understand, e.g. compare "25 Oct 2024 11:12:49 UTC" to "3 minutes ago".

As a nice side-effect this also fixes a minor privacy issue where using the full absolute timestamp would expose the server timezone to the public.

Before

Screenshot from 2024-10-25 12-29-28

After

Screenshot from 2024-10-25 12-29-43

Using a relative time rather than absolute requires far less effort for
a reader to understand, e.g. compare "25 Oct 2024 11:12:49 UTC" to "3
minutes ago".

As a nice side-effect this also fixes a minor privacy issue where using
the full absolute timestamp would expose the server timezone to the
public.
davecgh
davecgh approved these changes Oct 25, 2024
@jholdstock jholdstock merged commit b0fb546 into decred:master Oct 26, 2024
2 checks passed
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